UNPKG

@golemio/energetics

Version:
393 lines 23 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BuildingsModel = void 0; const sequelize_1 = require("@golemio/core/dist/shared/sequelize"); class BuildingsModel extends sequelize_1.Model { } exports.BuildingsModel = BuildingsModel; BuildingsModel.TABLE_NAME = "consumption_energy_buildings"; BuildingsModel.attributeModel = { id: { primaryKey: true, type: sequelize_1.DataTypes.INTEGER, }, building_name: sequelize_1.DataTypes.STRING(255), description: sequelize_1.DataTypes.STRING(255), building_address_code: sequelize_1.DataTypes.STRING(255), building_label: sequelize_1.DataTypes.STRING(255), current_note: sequelize_1.DataTypes.STRING(255), main_use: sequelize_1.DataTypes.STRING(255), secondary_use: sequelize_1.DataTypes.STRING(255), year_of_construction: sequelize_1.DataTypes.STRING(255), method_of_protection: sequelize_1.DataTypes.STRING(255), built_up_area: sequelize_1.DataTypes.STRING(255), heated_bulding_volume: sequelize_1.DataTypes.STRING(255), students_count: sequelize_1.DataTypes.STRING(255), employees_count: sequelize_1.DataTypes.STRING(255), classrooms_count: sequelize_1.DataTypes.STRING(255), beds_count: sequelize_1.DataTypes.STRING(255), eno_id: sequelize_1.DataTypes.STRING(255), csu_code: sequelize_1.DataTypes.STRING(255), ku_code: sequelize_1.DataTypes.STRING(255), allotment_number: sequelize_1.DataTypes.STRING(255), registration_unit: sequelize_1.DataTypes.STRING(255), gas_consumption_normatives: sequelize_1.DataTypes.STRING(255), heat_consumption_normatives: sequelize_1.DataTypes.STRING(255), water_consumption_normatives: sequelize_1.DataTypes.STRING(255), electricity_consumption_normatives_per_person: sequelize_1.DataTypes.STRING(255), electricity_consumption_normatives: sequelize_1.DataTypes.STRING(255), energetic_management: sequelize_1.DataTypes.STRING(255), opening_hours: sequelize_1.DataTypes.STRING(255), weekend_opening_hours: sequelize_1.DataTypes.STRING(255), latitude: sequelize_1.DataTypes.STRING(255), longitude: sequelize_1.DataTypes.STRING(255), address_street: sequelize_1.DataTypes.STRING(255), address_house_number: sequelize_1.DataTypes.STRING(255), address_city: sequelize_1.DataTypes.STRING(255), address_country: sequelize_1.DataTypes.STRING(255), address_mail: sequelize_1.DataTypes.STRING(255), address_phone: sequelize_1.DataTypes.STRING(255), address_web_address: sequelize_1.DataTypes.STRING(255), penb_penbnumber: sequelize_1.DataTypes.STRING(255), penb_issue_date: sequelize_1.DataTypes.STRING(255), penb_total_building_envelope_area: sequelize_1.DataTypes.STRING(255), penb_volume_factor_of_avshape: sequelize_1.DataTypes.STRING(255), penb_total_energy_reference_area: sequelize_1.DataTypes.STRING(255), penb_total_provided_energy: sequelize_1.DataTypes.STRING(255), penb_total_provided_energy_category: sequelize_1.DataTypes.STRING(255), penb_primary_non_renewable_energy: sequelize_1.DataTypes.STRING(255), penb_primary_non_renewable_energy_category: sequelize_1.DataTypes.STRING(255), penb_building_envelope: sequelize_1.DataTypes.STRING(255), penb_building_envelope_category: sequelize_1.DataTypes.STRING(255), penb_heating: sequelize_1.DataTypes.STRING(255), penb_heating_category: sequelize_1.DataTypes.STRING(255), penb_cooling: sequelize_1.DataTypes.STRING(255), penb_cooling_category: sequelize_1.DataTypes.STRING(255), penb_ventilation: sequelize_1.DataTypes.STRING(255), penb_ventilation_category: sequelize_1.DataTypes.STRING(255), penb_humidity_adjustment: sequelize_1.DataTypes.STRING(255), penb_humidity_adjustment_category: sequelize_1.DataTypes.STRING(255), penb_warm_water: sequelize_1.DataTypes.STRING(255), penb_warm_water_category: sequelize_1.DataTypes.STRING(255), penb_lighting: sequelize_1.DataTypes.STRING(255), penb_lighting_category: sequelize_1.DataTypes.STRING(255), energy_audits_energy_audit: sequelize_1.DataTypes.STRING(255), energy_audits_earegistration_number: sequelize_1.DataTypes.STRING(255), energy_audits_created_at: sequelize_1.DataTypes.STRING(255), building_envelope_side_wall_prevailing_construction: sequelize_1.DataTypes.STRING(255), building_envelope_side_wall_area: sequelize_1.DataTypes.STRING(255), building_envelope_side_wall_heat_insulation: sequelize_1.DataTypes.STRING(255), building_envelope_side_wall_year_of_adjustment: sequelize_1.DataTypes.STRING(255), building_envelope_side_wall_technical_condition: sequelize_1.DataTypes.STRING(255), building_envelope_filling_of_hole_construction: sequelize_1.DataTypes.STRING(255), building_envelope_filling_of_hole_area: sequelize_1.DataTypes.STRING(255), building_envelope_filling_of_hole_year_of_adjustment: sequelize_1.DataTypes.STRING(255), building_envelope_filling_of_hole_technical_condition: sequelize_1.DataTypes.STRING(255), building_envelope_roof_construction: sequelize_1.DataTypes.STRING(255), building_envelope_roof_area: sequelize_1.DataTypes.STRING(255), building_envelope_roof_thermal_insulation: sequelize_1.DataTypes.STRING(255), building_envelope_roof_year_of_adjustment: sequelize_1.DataTypes.STRING(255), building_envelope_roof_technical_condition: sequelize_1.DataTypes.STRING(255), building_envelope_floor_of_the_lowest_heated_floor_construction: sequelize_1.DataTypes.STRING(255), building_envelope_floor_of_the_lowest_heated_floor_area: sequelize_1.DataTypes.STRING(255), floor_of_the_lowest_heated_floor_thermal_insulation: sequelize_1.DataTypes.STRING(255), building_envelope_floor_of_the_lowest_heated_floor_year_of_adjustment: sequelize_1.DataTypes.STRING(255), floor_of_the_lowest_heated_floor_technical_condition: sequelize_1.DataTypes.STRING(255), fuel_and_energy_coal: sequelize_1.DataTypes.STRING(255), fuel_and_energy_gas: sequelize_1.DataTypes.STRING(255), fuel_and_energy_electricity: sequelize_1.DataTypes.STRING(255), fuel_and_energy_czt: sequelize_1.DataTypes.STRING(255), fuel_and_energy_oze: sequelize_1.DataTypes.STRING(255), fuel_and_energy_other: sequelize_1.DataTypes.STRING(255), technical_equipment_heating_main_source_of_heat: sequelize_1.DataTypes.STRING(255), technical_equipment_heating_heat_percentage: sequelize_1.DataTypes.STRING(255), technical_equipment_heating_secondary_source_of_heat: sequelize_1.DataTypes.STRING(255), technical_equipment_heating_heating_system: sequelize_1.DataTypes.STRING(255), technical_equipment_heating_year: sequelize_1.DataTypes.STRING(255), technical_equipment_heating_technical_condition: sequelize_1.DataTypes.STRING(255), technical_equipment_cooling_cooling_system: sequelize_1.DataTypes.STRING(255), technical_equipment_cooling_cooling_area_percentage: sequelize_1.DataTypes.STRING(255), technical_equipment_cooling_year: sequelize_1.DataTypes.STRING(255), technical_equipment_cooling_technical_condition: sequelize_1.DataTypes.STRING(255), technical_equipment_ventilation_ventilation: sequelize_1.DataTypes.STRING(255), technical_equipment_ventilation_year: sequelize_1.DataTypes.STRING(255), technical_equipment_ventilation_technical_condition: sequelize_1.DataTypes.STRING(255), technical_equipment_humidity_adjustment_humidity_adjustment: sequelize_1.DataTypes.STRING(255), technical_equipment_humidity_adjustment_year: sequelize_1.DataTypes.STRING(255), technical_equipment_humidity_adjustment_technical_condition: sequelize_1.DataTypes.STRING(255), technical_equipment_hot_water_predominant_way_of_heating_tv: sequelize_1.DataTypes.STRING(255), technical_equipment_hot_water_hot_water_source: sequelize_1.DataTypes.STRING(255), technical_equipment_hot_water_year: sequelize_1.DataTypes.STRING(255), technical_equipment_hot_water_technical_condition: sequelize_1.DataTypes.STRING(255), technical_equipment_lighting_lighting: sequelize_1.DataTypes.STRING(255), technical_equipment_lighting_year: sequelize_1.DataTypes.STRING(255), technical_equipment_lighting_technical_condition: sequelize_1.DataTypes.STRING(255), technical_equipment_lighting_other_technological_elements: sequelize_1.DataTypes.STRING(255), technical_equipment_lighting_measurement_method: sequelize_1.DataTypes.STRING(255), oze_energy_production_solar_energy_photovoltaic: sequelize_1.DataTypes.STRING(255), oze_energy_production_solar_energy_photothermal: sequelize_1.DataTypes.STRING(255), oze_energy_production_integrated_turbines_wind_energy: sequelize_1.DataTypes.STRING(255), oze_energy_production_heat_pump: sequelize_1.DataTypes.STRING(255), waste_and_emissions_solid_waste_production: sequelize_1.DataTypes.STRING(255), waste_and_emissions_tied_co2_emissions: sequelize_1.DataTypes.STRING(255), waste_and_emissions_sox_emissions: sequelize_1.DataTypes.STRING(255), waste_and_emissions_operating_co_2emissions: sequelize_1.DataTypes.STRING(255), link: sequelize_1.DataTypes.STRING(255), }; BuildingsModel.arrayJsonSchema = { type: "array", items: { type: "object", properties: { id: { type: "integer" }, building_name: { type: "string" }, description: { type: "string" }, building_address_code: { type: "string" }, building_label: { type: "string" }, current_note: { type: "string" }, main_use: { type: "string" }, secondary_use: { type: "string" }, year_of_construction: { type: "string" }, method_of_protection: { type: "string" }, built_up_area: { type: "string" }, heated_bulding_volume: { type: "string" }, students_count: { type: "string" }, employees_count: { type: "string" }, classrooms_count: { type: "string" }, beds_count: { type: "string" }, eno_id: { type: "string" }, csu_code: { type: "string" }, ku_code: { type: "string" }, allotment_number: { type: "string" }, registration_unit: { type: "string" }, gas_consumption_normatives: { type: "string" }, heat_consumption_normatives: { type: "string" }, water_consumption_normatives: { type: "string" }, electricity_consumption_normatives_per_person: { type: "string" }, electricity_consumption_normatives: { type: "string" }, energetic_management: { type: "string" }, opening_hours: { type: "string" }, weekend_opening_hours: { type: "string" }, latitude: { type: "string" }, longitude: { type: "string" }, address_street: { type: "string" }, address_house_number: { type: "string" }, address_city: { type: "string" }, address_country: { type: "string" }, address_mail: { type: "string" }, address_phone: { type: "string" }, address_web_address: { type: "string" }, penb_penbnumber: { type: "string" }, penb_issue_date: { type: "string" }, penb_total_building_envelope_area: { type: "string" }, penb_volume_factor_of_avshape: { type: "string" }, penb_total_energy_reference_area: { type: "string" }, penb_total_provided_energy: { type: "string" }, penb_total_provided_energy_category: { type: "string" }, penb_primary_non_renewable_energy: { type: "string" }, penb_primary_non_renewable_energy_category: { type: "string" }, penb_building_envelope: { type: "string" }, penb_building_envelope_category: { type: "string" }, penb_heating: { type: "string" }, penb_heating_category: { type: "string" }, penb_cooling: { type: "string" }, penb_cooling_category: { type: "string" }, penb_ventilation: { type: "string" }, penb_ventilation_category: { type: "string" }, penb_humidity_adjustment: { type: "string" }, penb_humidity_adjustment_category: { type: "string" }, penb_warm_water: { type: "string" }, penb_warm_water_category: { type: "string" }, penb_lighting: { type: "string" }, penb_lighting_category: { type: "string" }, energy_audits_energy_audit: { type: "string" }, energy_audits_earegistration_number: { type: "string" }, energy_audits_created_at: { type: "string" }, building_envelope_side_wall_prevailing_construction: { type: "string" }, building_envelope_side_wall_area: { type: "string" }, building_envelope_side_wall_heat_insulation: { type: "string" }, building_envelope_side_wall_year_of_adjustment: { type: "string" }, building_envelope_side_wall_technical_condition: { type: "string" }, building_envelope_filling_of_hole_construction: { type: "string" }, building_envelope_filling_of_hole_area: { type: "string" }, building_envelope_filling_of_hole_year_of_adjustment: { type: "string" }, building_envelope_filling_of_hole_technical_condition: { type: "string" }, building_envelope_roof_construction: { type: "string" }, building_envelope_roof_area: { type: "string" }, building_envelope_roof_thermal_insulation: { type: "string" }, building_envelope_roof_year_of_adjustment: { type: "string" }, building_envelope_roof_technical_condition: { type: "string" }, building_envelope_floor_of_the_lowest_heated_floor_construction: { type: "string" }, building_envelope_floor_of_the_lowest_heated_floor_area: { type: "string" }, floor_of_the_lowest_heated_floor_thermal_insulation: { type: "string" }, building_envelope_floor_of_the_lowest_heated_floor_year_of_adjustment: { type: "string" }, floor_of_the_lowest_heated_floor_technical_condition: { type: "string" }, fuel_and_energy_coal: { type: "string" }, fuel_and_energy_gas: { type: "string" }, fuel_and_energy_electricity: { type: "string" }, fuel_and_energy_czt: { type: "string" }, fuel_and_energy_oze: { type: "string" }, fuel_and_energy_other: { type: "string" }, technical_equipment_heating_main_source_of_heat: { type: "string" }, technical_equipment_heating_heat_percentage: { type: "string" }, technical_equipment_heating_secondary_source_of_heat: { type: "string" }, technical_equipment_heating_heating_system: { type: "string" }, technical_equipment_heating_year: { type: "string" }, technical_equipment_heating_technical_condition: { type: "string" }, technical_equipment_cooling_cooling_system: { type: "string" }, technical_equipment_cooling_cooling_area_percentage: { type: "string" }, technical_equipment_cooling_year: { type: "string" }, technical_equipment_cooling_technical_condition: { type: "string" }, technical_equipment_ventilation_ventilation: { type: "string" }, technical_equipment_ventilation_year: { type: "string" }, technical_equipment_ventilation_technical_condition: { type: "string" }, technical_equipment_humidity_adjustment_humidity_adjustment: { type: "string" }, technical_equipment_humidity_adjustment_year: { type: "string" }, technical_equipment_humidity_adjustment_technical_condition: { type: "string" }, technical_equipment_hot_water_predominant_way_of_heating_tv: { type: "string" }, technical_equipment_hot_water_hot_water_source: { type: "string" }, technical_equipment_hot_water_year: { type: "string" }, technical_equipment_hot_water_technical_condition: { type: "string" }, technical_equipment_lighting_lighting: { type: "string" }, technical_equipment_lighting_year: { type: "string" }, technical_equipment_lighting_technical_condition: { type: "string" }, technical_equipment_lighting_other_technological_elements: { type: "string" }, technical_equipment_lighting_measurement_method: { type: "string" }, oze_energy_production_solar_energy_photovoltaic: { type: "string" }, oze_energy_production_solar_energy_photothermal: { type: "string" }, oze_energy_production_integrated_turbines_wind_energy: { type: "string" }, oze_energy_production_heat_pump: { type: "string" }, waste_and_emissions_solid_waste_production: { type: "string" }, waste_and_emissions_tied_co2_emissions: { type: "string" }, waste_and_emissions_sox_emissions: { type: "string" }, waste_and_emissions_operating_co_2emissions: { type: "string" }, link: { type: "string" }, }, required: [ "id", "building_name", "description", "building_address_code", "building_label", "current_note", "main_use", "secondary_use", "year_of_construction", "method_of_protection", "built_up_area", "heated_bulding_volume", "students_count", "employees_count", "classrooms_count", "beds_count", "eno_id", "csu_code", "ku_code", "allotment_number", "registration_unit", "gas_consumption_normatives", "heat_consumption_normatives", "water_consumption_normatives", "electricity_consumption_normatives_per_person", "electricity_consumption_normatives", "energetic_management", "opening_hours", "weekend_opening_hours", "latitude", "longitude", "address_street", "address_house_number", "address_city", "address_country", "address_mail", "address_phone", "address_web_address", "penb_penbnumber", "penb_issue_date", "penb_total_building_envelope_area", "penb_volume_factor_of_avshape", "penb_total_energy_reference_area", "penb_total_provided_energy", "penb_total_provided_energy_category", "penb_primary_non_renewable_energy", "penb_primary_non_renewable_energy_category", "penb_building_envelope", "penb_building_envelope_category", "penb_heating", "penb_heating_category", "penb_cooling", "penb_cooling_category", "penb_ventilation", "penb_ventilation_category", "penb_humidity_adjustment", "penb_humidity_adjustment_category", "penb_warm_water", "penb_warm_water_category", "penb_lighting", "penb_lighting_category", "energy_audits_energy_audit", "energy_audits_earegistration_number", "energy_audits_created_at", "building_envelope_side_wall_prevailing_construction", "building_envelope_side_wall_area", "building_envelope_side_wall_heat_insulation", "building_envelope_side_wall_year_of_adjustment", "building_envelope_side_wall_technical_condition", "building_envelope_filling_of_hole_construction", "building_envelope_filling_of_hole_area", "building_envelope_filling_of_hole_year_of_adjustment", "building_envelope_filling_of_hole_technical_condition", "building_envelope_roof_construction", "building_envelope_roof_area", "building_envelope_roof_thermal_insulation", "building_envelope_roof_year_of_adjustment", "building_envelope_roof_technical_condition", "building_envelope_floor_of_the_lowest_heated_floor_construction", "building_envelope_floor_of_the_lowest_heated_floor_area", "floor_of_the_lowest_heated_floor_thermal_insulation", "building_envelope_floor_of_the_lowest_heated_floor_year_of_adjustment", "floor_of_the_lowest_heated_floor_technical_condition", "fuel_and_energy_coal", "fuel_and_energy_gas", "fuel_and_energy_electricity", "fuel_and_energy_czt", "fuel_and_energy_oze", "fuel_and_energy_other", "technical_equipment_heating_main_source_of_heat", "technical_equipment_heating_heat_percentage", "technical_equipment_heating_secondary_source_of_heat", "technical_equipment_heating_heating_system", "technical_equipment_heating_year", "technical_equipment_heating_technical_condition", "technical_equipment_cooling_cooling_system", "technical_equipment_cooling_cooling_area_percentage", "technical_equipment_cooling_year", "technical_equipment_cooling_technical_condition", "technical_equipment_ventilation_ventilation", "technical_equipment_ventilation_year", "technical_equipment_ventilation_technical_condition", "technical_equipment_humidity_adjustment_humidity_adjustment", "technical_equipment_humidity_adjustment_year", "technical_equipment_humidity_adjustment_technical_condition", "technical_equipment_hot_water_predominant_way_of_heating_tv", "technical_equipment_hot_water_hot_water_source", "technical_equipment_hot_water_year", "technical_equipment_hot_water_technical_condition", "technical_equipment_lighting_lighting", "technical_equipment_lighting_year", "technical_equipment_lighting_technical_condition", "technical_equipment_lighting_other_technological_elements", "technical_equipment_lighting_measurement_method", "oze_energy_production_solar_energy_photovoltaic", "oze_energy_production_solar_energy_photothermal", "oze_energy_production_integrated_turbines_wind_energy", "oze_energy_production_heat_pump", "waste_and_emissions_solid_waste_production", "waste_and_emissions_tied_co2_emissions", "waste_and_emissions_sox_emissions", "waste_and_emissions_operating_co_2emissions", "link", ], }, }; //# sourceMappingURL=BuildingsModel.js.map