aboutsummaryrefslogtreecommitdiffstats
path: root/models.py
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-07 23:46:06 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-07 23:46:06 +0200
commit69758200a54a8731089b6394944440c3a8f5d976 (patch)
treea0832d2a5dfad33440a036f5707617ba53cc599e /models.py
parentc7d33751e951f9cc4dfd90467854cc6e20cc341b (diff)
downloadjustice-69758200a54a8731089b6394944440c3a8f5d976.tar.gz
update search by legal persons
Diffstat (limited to 'models.py')
-rw-r--r--models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/models.py b/models.py
index eb427e9..1540aa9 100644
--- a/models.py
+++ b/models.py
@@ -228,6 +228,8 @@ class Pravnicka_Osoba(db.Model):
sole_shareholder_association = db.relationship("Jediny_Akcionar_Association")
statut_org_association = db.relationship("Statutarni_Organ_Clen_Association")
supervisory_board_member_association = db.relationship("Dozorci_Rada_Clen_Association")
+ adresa_id = db.Column(db.Integer, db.ForeignKey('adresy_v2.id'))
+ adresa = db.relationship("Adresy_v2")
class Fyzicka_Osoba(db.Model):
__tablename__ = "fyzicke_osoby"
@@ -341,7 +343,6 @@ class Podily_Association(db.Model):
zapis_datum = db.Column(MyType)
vymaz_datum = db.Column(MyType)
druh_podilu_id = db.Column(db.Integer, db.ForeignKey('druhy_podilu.id'))
- # vklad_typ = db.Column(db.String)
vklad_typ = db.Column(MyCurrency)
vklad_text = db.Column(db.String)
souhrn_typ = db.Column(MyContribution)