bems_v2

Tables (44)

annual_energy

  • id — bigint — 아이디
  • eco2_id — bigint — 아이디
  • carbon_dioxide_amount — double — NOT NULL — 이산화탄소량
  • demand — double — NOT NULL — 수요
  • energy_type — varchar(255) — 에너지 유형
  • grade_primary_requirement — double — NOT NULL — 등급 초기 요구량
  • primary_requirement — double — NOT NULL — 초기 요구량
  • requirement — double — NOT NULL — 요구량

building

  • id — bigint — 빌딩 아이디
  • address — varchar(500) — 주소
  • architecture — varchar(255) — 건축가
  • building_coverage — float — 건폐율
  • building_height — float — 건물높이
  • building_permit_date — date — 건축허가일
  • completion_approval_date — date — 준공일
  • constructor — varchar(255) — 시공사
  • emergency — float — 긴급
  • normal — float — 일반
  • energy_efficiency_grade — int — 에너지효율등급
  • energy_efficiency_rate — float — 에너지효율률
  • epi_score — float — EPI 점수
  • basement — float — 지하 층수
  • ground — float — 지상 층수
  • floor_area — decimal(10, 5) — 건축면적
  • floor_area_ratio — decimal(10, 5) — 용적률
  • gseed_grade — int — 등급
  • gseed_score — float — 점수
  • gross_floor_area — decimal(10, 5) — 연면적
  • ibs_grade — int — 등급
  • ibs_score — float — 점수
  • land_area — decimal(10, 5) — 대지면적
  • leed_grade — int — 등급
  • leed_score — float — 점수
  • notice_to_proceed_date — date — 착공일
  • owner — varchar(255) — 소유자
  • remodeling_date — date — 리모델링일
  • size — decimal(10, 5)
  • users — float
  • supervisor — varchar(255) — 감리자
  • name — varchar(255) — NOT NULL — 빌딩 이름
  • roof_code_id — bigint — 지붕코드
  • sewage_facility_code_id — bigint
  • structure_code_id — bigint — 구조코드
  • use_code_id — bigint — 용도코드

building_parking_lots

  • building_id — bigint — 빌딩 아이디
  • parking_lot_type — int
  • size — decimal(10, 5)
  • spaces — int

code

  • id — bigint
  • code_type — varchar(255) — 코드 타입(건물 사용, 건물 구조, 건물 하수도 시설, 지붕)
  • name — varchar(255) — 이름
  • number — varchar(255) — 코드 숫자
  • remark — varchar(255) — 개정 날짜

control_point

  • id — bigint — 관제점 아이디
  • building_id — bigint — 빌딩 아이디
  • zone_id — bigint
  • control_type — varchar(255) — NOT NULL — 제어 유형(합산, 평균, 단일)
  • control_point_name — varchar(255) — NOT NULL — 이름
  • purpose_type — varchar(255) — 용도 타입
  • sortation_type — varchar(255) — 구분 타입
  • control_item_type — varchar(255) — 관제 항목 타입
  • energy_source_name — varchar(255) — 에너지원 명
  • energy_source_type — varchar(255) — 에너지원 타입
  • unit — varchar(255) — 관제값 단위

control_point_facility

  • id — bigint — Primary key — NOT NULL — id
  • system_id — bigint — 설비 아이디
  • control_point_id — bigint — 관제점 아이디

control_point_facility_efficiency

  • id — bigint
  • facility_efficiency_id — bigint
  • control_point_id — bigint — 관제점 아이디

control_point_limit

  • id — bigint — 관제점 기준값 id
  • lower_limit — decimal(19, 2) — 하한값
  • upper_limit — decimal(19, 2) — 상한값
  • control_point_id — bigint — NOT NULL
  • device_limit_id — bigint — NOT NULL

control_point_role

  • id — bigint — Primary key — NOT NULL
  • contorl_point_id — bigint — 관제점 아이디
  • role_type — varchar(255) — 역할 타입(요금용, 사용량용)

control_system

  • id — bigint
  • building_id — bigint — 빌딩 아이디
  • control_system_type — varchar(255) — 제어 시스템 타입

control_system_light

  • id — bigint
  • control_system_id — bigint
  • zone_id — bigint
  • control_system_brand_type — varchar(255)
  • control_system_product_type — varchar(255)
  • zone_nickname — varchar(255)

control_system_light_lifesmart_arg

  • control_system_light_id — bigint
  • agt — varchar(255) — agt값
  • me — varchar(255) — me값

control_system_light_lifesmart_button

  • id — bigint
  • control_system_light_id — bigint
  • description — varchar(255)
  • idx — varchar(255)
  • name — varchar(255)

control_value

  • id — bigint — 관제값 아이디
  • control_point_id — bigint — 관제점 아이디
  • collected_at — datetime(6) — NOT NULL — 수집된 날짜와 시간
  • control_value — decimal(20, 6) — NOT NULL — 제어 값

device_limit

  • id — bigint — 장치 기준값 id
  • building_id — bigint — NOT NULL
  • device_id — bigint — NOT NULL

eco2

  • id — bigint — 아이디
  • building_id — bigint — 빌딩 아이디
  • certification_date — date — 인증 발급일
  • primary_energy_consumption — double — 1차 에너지 소비
  • primary_energy_output — double — 1차 에너지 출력

eco2_month_energy

  • id — bigint
  • eco2_id — bigint — 아이디
  • cooling — double — NOT NULL — 냉방 값
  • heating — double — NOT NULL — 난방 값
  • month_type — varchar(255) — 월 타입
  • residence — varchar(255) — 주거 여부

electric_basic_rate

  • id — bigint — Primary key — NOT NULL
  • building_Id — bigint — 빌딩 아이디
  • is_global — bit — 전체 설정 여부

electric_bill_structure

  • id — bigint
  • basic_rate_electric — bigint
  • climate_environment_charge — decimal(10, 4) — 기후 환경 요금
  • electric_business_foundation_fund — decimal(10, 4) — 전력 사업 기반 기금
  • fuel_cost_adjustment_fee — decimal(10, 4) — 연료비 조정 요금
  • vat — decimal(10, 4) — 부가가치세
  • symbol_type — varchar(255) — 연료비 조정요금의 기호(+/-)

electric_generic

  • id — bigint
  • basic_rate_electric_id — bigint — 아이디
  • basic_rate — decimal(10, 4) — NOT NULL — 기본요금
  • electric_generic_type — varchar(255) — NOT NULL — 계약종별(enum)
  • high_voltage_choice_type — varchar(255) — NOT NULL — 수전 전압 종류(enum)
  • high_voltage_type — varchar(255) — NOT NULL — 수전 전압 타입(enum)

electric_generic_bill

  • id — bigint
  • electric_generic_id — bigint
  • electrical_use_time_zone_type — varchar(255) — NOT NULL — 시간대(enum)
  • spring_fall — decimal(10, 4) — NOT NULL — 봄 가을철 값
  • summer — decimal(10, 4) — NOT NULL — 여름철 값
  • winter — decimal(10, 4) — NOT NULL — 겨울철 값

electric_house

  • id — bigint
  • basic_rate_electric_id — bigint
  • electric_house_type — varchar(255) — NOT NULL — 전기 주택 유형

electric_house_bill

  • id — bigint
  • electric_house_id — bigint
  • basic_rate — decimal(10, 4) — NOT NULL — 기본 요금
  • bill — decimal(10, 4) — NOT NULL — 전력량 요금
  • electric_house_season_type — varchar(255) — NOT NULL — 전기 주택 계절 유형
  • electric_house_use_range_type — varchar(255) — NOT NULL — 전기 사용 범위 유형

energy_cost

  • id — bigint
  • building_id — bigint — 빌딩 아이디
  • energy_cost_type — varchar(255) — 에너지 요금 타입

energy_cost_electric_control_point

  • id — bigint
  • energy_cost_id — bigint
  • electric_generic_id — bigint
  • electric_house_id — bigint
  • control_point_id — bigint — 관제점 아이디
  • customer_number — varchar(255) — 고객 번호
  • contract_electric — decimal(10, 2) — 계약 전력
  • ground_power_factor — double — NOT NULL — 지상 역률
  • leading_power_factor — double — NOT NULL — 진상 역률
  • start_time — datetime(6) — 시작일
  • end_time — datetime(6) — 종료일

energy_cost_gas_control_point

  • id — bigint
  • energy_cost_id — bigint
  • gas_bill_id — bigint
  • meter_replacement_cost_id — bigint
  • control_point_id — bigint — 관제점 아이디
  • payer_number — varchar(255) — 납부자 번호
  • end_time — datetime(6) — 종료일
  • start_time — datetime(6) — 시작일

energy_source

  • id — bigint — Primary key — NOT NULL
  • system_id — bigint — 설비 아이디
  • energy_source_type — varchar(255) — 에너지원 이름

energy_usage_limit

  • id — bigint — 에너지 사용량 기준값 id
  • energy_usage_type — varchar(255) — 에너지 사용량 타입(가스, 유류, 지역 냉난방, 전력, 건물)
  • upper_limit — decimal(19, 2) — 상한값
  • building_id — bigint — NOT NULL

facility_efficiency

  • id — bigint
  • building_id — bigint — 빌딩 아이디
  • created_at — datetime(6) — 생성 날짜
  • name — varchar(255) — 설비효율 이름

floor

  • id — bigint
  • building_id — bigint — 빌딩 아이디
  • type — varchar(255) — NOT NULL — 층 타입(지하, 지상, 옥상)
  • num — int — 층 수

gas_basic_rate

  • id — bigint — Primary key — NOT NULL
  • building_id — bigint — 빌딩 아이디
  • temperature_correction_factor — decimal(10, 4) — NOT NULL — 온압보정계수
  • region — varchar(255) — 지역 이름(enum)
  • is_global — bit — 전체 설정 여부

gas_bill

  • id — bigint
  • gas_bill_type — bigint
  • basic_rate — double — 기본 요금
  • rate_unit_price — decimal(10, 4) — 요금 단위 가격
  • season_type — varchar(150) — NOT NULL — 계절 유형(enum)

gas_bill_type

  • id — bigint
  • gas_basic_rate_id — bigint
  • contract_type — varchar(150) — NOT NULL — 계약 유형(enum)

gas_meter_replacement_cost

  • id — bigint
  • gas_basic_rate_id — bigint
  • meter_type — varchar(255) — 계량기 타입(enum)
  • replace_cost_type — varchar(255) — 교체비용 타입(enum)
  • replacement_cost — decimal(10, 4) — 교체 비용(enum)

indoor_environment_limit

  • id — bigint — 실내환경 기준값 id
  • indoor_environment_type — varchar(255) — 실내 환경 타입(온도, 습도, 미세먼지, 초미세먼지, 이산화탄소, 불쾌지수, TVOCS)
  • lower_limit — decimal(19, 2) — 하한값
  • upper_limit — decimal(19, 2) — 상한값
  • building_id — bigint — NOT NULL

jwt

  • id — binary(16) — Primary key — NOT NULL
  • expiration_date — datetime(6) — 유효시간
  • token_type — varchar(255) — 토큰

member

  • id — bigint
  • password — varchar(255) — 비밀번호
  • role — varchar(255) — 권한
  • member_id — varchar(255) — 유저 아이디

member_building

  • id — bigint — Primary key — NOT NULL
  • member_id — bigint
  • building_id — bigint — 빌딩 아이디

notification

  • id — bigint — 알림 설정 id
  • is_notification_active — bit — NOT NULL — 알림이 켜졌는지 유무
  • last_notification_time — datetime(6) — 마지막으로 알림 날린 시간
  • notification_type — varchar(255) — 알림 유형(에너지 사용량, 실내 환경, 관제점)
  • target_id — bigint — 알림 보낼 아이디 limit 아이디

notification_detail

  • id — bigint — 알림 내용 id
  • checked_at — datetime(6) — 일림 확인 시간
  • contents — varchar(255) — 알림 내용
  • created_at — datetime(6) — 알림 생성 시간
  • limit_type — varchar(255) — 상한, 하한 타입
  • notification_id — bigint
  • building_id — bigint — NOT NULL — 빌딩 아이디

outdoor

  • id — bigint
  • time — datetime(6) — 수입 일시
  • type — varchar(255) — 실외환경 타입
  • value — double — 실외환경 값

rate_performance

  • id — bigint — Primary key — NOT NULL
  • system_id — bigint — 설비 아이디
  • title — varchar(255) — 중분류
  • contents — varchar(255) — 소분류
  • value — double — 정격값

system

  • id — bigint — 설비 아이디
  • system_id — bigint — 설비 아이디
  • zone_id — bigint
  • name — varchar(255) — NOT NULL — 이름
  • remark — varchar(255) — 비고(분전반, 설비이름)

zone

  • id — bigint
  • floor_id — bigint
  • parent_id — bigint — 부모 아이디
  • type — varchar(255) — 타입(빌딩전체, 층전체, 일반)
  • name — varchar(255) — 실 이름