From 9b9ebd48ab53fd4c35bc3bc900988cbc3001ab68 Mon Sep 17 00:00:00 2001 From: faselm Date: Tue, 12 Nov 2024 11:54:29 +0100 Subject: [PATCH] BGDIDIC-2882: add model again --- chsdi/models/vector/uvek.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/chsdi/models/vector/uvek.py b/chsdi/models/vector/uvek.py index 05bae1637f..2677371189 100644 --- a/chsdi/models/vector/uvek.py +++ b/chsdi/models/vector/uvek.py @@ -4338,3 +4338,20 @@ class Landschaftsruhezonen (Base, Vector): the_geom = Column(Geometry2D) register('ch.bazl.landschaftsruhezonen', Landschaftsruhezonen) + + +class ReflektierendeFlaechenFlugplaetze (Base, Vector): + __table_args__ = ({'schema': 'bazl', 'autoload': False}) + __tablename__ = 'reflektierende_flaechen_flugplaetze' + __template__ = 'templates/htmlpopup/bazl_reflektierende_flaechen_flugplaetze.mako' + __bodId__ = 'ch.bazl.reflektierende-flaechen_flugplaetze' + __label__ = 'name' + id = Column('bgdi_id', Integer, primary_key=True) + icao = Column('icao', Unicode) + name = Column('name', Unicode) + status_de = Column('status_de', Unicode) + status_fr = Column('status_fr', Unicode) + status_it = Column('status_it', Unicode) + status_en = Column('status_en', Unicode) + the_geom = Column(Geometry2D) +register('ch.bazl.reflektierende-flaechen_flugplaetze', ReflektierendeFlaechenFlugplaetze)