forked from AKSW/ffe.pfarrerbuch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vicar.py
49 lines (45 loc) · 1.85 KB
/
vicar.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*- coding: utf-8 -*-
"""
Object class for each vicar entry
Author: Robert R.
"""
class Vicar(object):
id = 0
name = 'k.A.'
ordination = 'k.A.'
birthday = 'k.A.'
obit = 'k.A.'
married = 'k.A.'
father = 'k.A.'
mother = 'k.A.'
siblings = ['k.A.']
offspring = ['k.A.']
vicars = ['k.A.']
pastors = ['k.A.']
institutions = ['k.A.']
teachers = ['k.A.']
education = ['k.A.']
misc = 'k.A.'
archive = 'k.A.'
literature = 'k.A.'
def __init__(self, id, name, ordination, birthday, obit, married, father,
mother, siblings, offspring, vicars, pastors, institutions,
teachers, education, misc, archive, literature):
self.id = id
self.name = name # name of the vicar
self.ordination = ordination # ordination of the vicar
self.birthday = birthday # birthday of the vicar
self.obit = obit # obit of the vicar
self.married = married # Wife / Husband of the vicar
self.father = father # father of the vicar
self.mother = mother # mother of the vicar
self.siblings = siblings # siblings of the vicar
self.offspring = offspring # the offspring of the vicar
self.vicars = vicars # vicars of the vicar
self.pastors = pastors # pastors of the vicar
self.institutions = institutions # institutions of the vicar
self.teachers = teachers # teachers of the vicar
self.education = education # the education of the vicar
self.misc = misc # diverse annotations
self.archive = archive # archive sources
self.literature = literature # used literature