Initial Translation
This commit is contained in:
63
surreal/VerbrauchsausweisWohnen.sql
Normal file
63
surreal/VerbrauchsausweisWohnen.sql
Normal file
@@ -0,0 +1,63 @@
|
||||
DEFINE TABLE VerbrauchsausweisWohnen SCHEMAFULL;
|
||||
|
||||
DEFINE FIELD alte_ausweis_id ON VerbrauchsausweisWohnen TYPE int;
|
||||
DEFINE FIELD ausstellgrund ON VerbrauchsausweisWohnen TYPE string; -- Ausstellgrund enum assumed as string
|
||||
DEFINE FIELD registriernummer ON VerbrauchsausweisWohnen TYPE string;
|
||||
DEFINE FIELD zusaetzliche_heizquelle ON VerbrauchsausweisWohnen TYPE bool;
|
||||
DEFINE FIELD einheit_1 ON VerbrauchsausweisWohnen TYPE string;
|
||||
DEFINE FIELD einheit_2 ON VerbrauchsausweisWohnen TYPE string;
|
||||
DEFINE FIELD brennstoff_1 ON VerbrauchsausweisWohnen TYPE string;
|
||||
DEFINE FIELD brennstoff_2 ON VerbrauchsausweisWohnen TYPE string;
|
||||
DEFINE FIELD energieeffizienzklasse ON VerbrauchsausweisWohnen TYPE string;
|
||||
DEFINE FIELD ausstellungsdatum ON VerbrauchsausweisWohnen TYPE datetime;
|
||||
DEFINE FIELD boxpruefung ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD startdatum ON VerbrauchsausweisWohnen TYPE datetime;
|
||||
|
||||
DEFINE FIELD verbrauch_1 ON VerbrauchsausweisWohnen TYPE int;
|
||||
DEFINE FIELD verbrauch_2 ON VerbrauchsausweisWohnen TYPE int;
|
||||
DEFINE FIELD verbrauch_3 ON VerbrauchsausweisWohnen TYPE int;
|
||||
DEFINE FIELD verbrauch_4 ON VerbrauchsausweisWohnen TYPE int;
|
||||
DEFINE FIELD verbrauch_5 ON VerbrauchsausweisWohnen TYPE int;
|
||||
DEFINE FIELD verbrauch_6 ON VerbrauchsausweisWohnen TYPE int;
|
||||
|
||||
DEFINE FIELD warmwasser_enthalten ON VerbrauchsausweisWohnen TYPE bool;
|
||||
DEFINE FIELD warmwasser_anteil_bekannt ON VerbrauchsausweisWohnen TYPE bool;
|
||||
DEFINE FIELD faktorKeller ON VerbrauchsausweisWohnen TYPE float;
|
||||
|
||||
DEFINE FIELD alternative_heizung ON VerbrauchsausweisWohnen TYPE bool;
|
||||
DEFINE FIELD alternative_warmwasser ON VerbrauchsausweisWohnen TYPE bool;
|
||||
DEFINE FIELD alternative_lueftung ON VerbrauchsausweisWohnen TYPE bool;
|
||||
DEFINE FIELD alternative_kuehlung ON VerbrauchsausweisWohnen TYPE bool;
|
||||
|
||||
DEFINE FIELD anteil_warmwasser_1 ON VerbrauchsausweisWohnen TYPE float;
|
||||
DEFINE FIELD anteil_warmwasser_2 ON VerbrauchsausweisWohnen TYPE float;
|
||||
|
||||
DEFINE FIELD ausgestellt ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD storniert ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD bestellt ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD zurueckgestellt ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD prueftext ON VerbrauchsausweisWohnen TYPE string;
|
||||
DEFINE FIELD beschreibung ON VerbrauchsausweisWohnen TYPE string;
|
||||
|
||||
DEFINE FIELD kontrolldatei_angefragt ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD ausweistyp ON VerbrauchsausweisWohnen TYPE string DEFAULT "Standard"; -- Enum default
|
||||
DEFINE FIELD ausweisart ON VerbrauchsausweisWohnen TYPE string DEFAULT "VerbrauchsausweisWohnen"; -- Enum default
|
||||
|
||||
DEFINE FIELD created_at ON VerbrauchsausweisWohnen TYPE datetime DEFAULT time::now();
|
||||
DEFINE FIELD updated_at ON VerbrauchsausweisWohnen TYPE datetime DEFAULT time::now();
|
||||
|
||||
-- Prüfpunkte
|
||||
DEFINE FIELD pruefpunkt_heizungsalter ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_verbrauch_niedrig ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_verbrauch_hoch ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_verbrauch_null ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_verbrauch_abweichung ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_wohnflaeche_einheiten ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_strom_null ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_strom_abweichung ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_plz ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_heizungsanlage ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_anteil_warmwasser ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_wohnflaeche ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_geometrie ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
DEFINE FIELD pruefpunkt_fenster ON VerbrauchsausweisWohnen TYPE bool DEFAULT false;
|
||||
Reference in New Issue
Block a user