using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace FMSAdmin.Entities { public partial class BemsFacilityType { public BemsFacilityType() { BemsAlarmSetting = new HashSet(); BemsChartInfo = new HashSet(); BemsControlPointHistory = new HashSet(); BemsMonitoringPoint = new HashSet(); BemsMonitoringPointBaseData = new HashSet(); BemsMonitoringPointConfig = new HashSet(); BemsMonitoringPointHistory15min = new HashSet(); BemsMonitoringPointHistory15minRawData = new HashSet(); BemsMonitoringPointHistoryDaily = new HashSet(); BemsMonitoringPointHistoryHourly = new HashSet(); BemsMonitoringPointToAnlaysisType = new HashSet(); FmsAlarmPoint = new HashSet(); } //설비 유형 [Display(Name = "설비유형 코드"), Key] public int FacilityTypeId { get; set; } [Display(Name = "유형 코드 명")] [StringLength(48)] public string Name { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsAlarmSetting { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsChartInfo { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsControlPointHistory { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsMonitoringPoint { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsMonitoringPointBaseData { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsMonitoringPointConfig { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsMonitoringPointHistory15min { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsMonitoringPointHistory15minRawData { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsMonitoringPointHistoryDaily { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsMonitoringPointHistoryHourly { get; set; } [InverseProperty("FacilityType")] public virtual ICollection BemsMonitoringPointToAnlaysisType { get; set; } [InverseProperty("FacilityType")] public virtual ICollection FmsAlarmPoint { get; set; } } }