diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-07 23:46:06 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-07 23:46:06 +0200 |
commit | 69758200a54a8731089b6394944440c3a8f5d976 (patch) | |
tree | a0832d2a5dfad33440a036f5707617ba53cc599e /models.py | |
parent | c7d33751e951f9cc4dfd90467854cc6e20cc341b (diff) | |
download | justice-69758200a54a8731089b6394944440c3a8f5d976.tar.gz |
update search by legal persons
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |