//------------------------------------------------------------------------------
// <auto-generated>
//    이 코드는 템플릿에서 생성되었습니다.
//
//    이 파일을 수동으로 변경하면 응용 프로그램에 예기치 않은 동작이 발생할 수 있습니다.
//    코드가 다시 생성되면 이 파일에 대한 수동 변경 사항을 덮어씁니다.
// </auto-generated>
//------------------------------------------------------------------------------

namespace iBemsDataService.Model
{
    using System;
    using System.Collections.Generic;
    
    public partial class CmSite
    {
        public CmSite()
        {
            this.BemsPeakHistory = new HashSet<BemsPeakHistory>();
            this.CmBuilding = new HashSet<CmBuilding>();
            this.CmCompany = new HashSet<CmCompany>();
            this.CmFacilityTempSet = new HashSet<CmFacilityTempSet>();
            this.CmFile = new HashSet<CmFile>();
            this.CmHoliday = new HashSet<CmHoliday>();
            this.CmHoliday1 = new HashSet<CmHoliday>();
            this.CmHolidayCustom = new HashSet<CmHolidayCustom>();
            this.CmHolidayCustom1 = new HashSet<CmHolidayCustom>();
            this.CmPatrolCourse = new HashSet<CmPatrolCourse>();
            this.CmPatrolCoursePos = new HashSet<CmPatrolCoursePos>();
            this.CmPatrolGroup = new HashSet<CmPatrolGroup>();
            this.CmPatrolHistoryPos = new HashSet<CmPatrolHistoryPos>();
            this.CmPatrolPlan = new HashSet<CmPatrolPlan>();
            this.CmPatrolPos = new HashSet<CmPatrolPos>();
            this.CmPatrolSchedule = new HashSet<CmPatrolSchedule>();
            this.CmPatrolType = new HashSet<CmPatrolType>();
            this.CmPosition = new HashSet<CmPosition>();
            this.CmPosition1 = new HashSet<CmPosition>();
            this.CmUserGroup = new HashSet<CmUserGroup>();
            this.FmsDrawingCodeGroup = new HashSet<FmsDrawingCodeGroup>();
            this.FmsDrawingCodeType = new HashSet<FmsDrawingCodeType>();
            this.FmsDrawing = new HashSet<FmsDrawing>();
            this.FmsDrawingCodeGroup1 = new HashSet<FmsDrawingCodeGroup>();
            this.FmsDrawingCodeType1 = new HashSet<FmsDrawingCodeType>();
            this.FmsFacilityCodeClass = new HashSet<FmsFacilityCodeClass>();
            this.FmsLicense = new HashSet<FmsLicense>();
            this.FmsMaterialCarriedForward = new HashSet<FmsMaterialCarriedForward>();
            this.FmsMaterialCodeClass = new HashSet<FmsMaterialCodeClass>();
            this.FmsMaterialCodeLocation = new HashSet<FmsMaterialCodeLocation>();
            this.FmsMaterialCodeType = new HashSet<FmsMaterialCodeType>();
            this.FmsMaterialPurchaseOrder = new HashSet<FmsMaterialPurchaseOrder>();
            this.FmsMaterialPurchaseRequest = new HashSet<FmsMaterialPurchaseRequest>();
            this.FmsMaterialStored = new HashSet<FmsMaterialStored>();
            this.FmsMaterialTradeCompany = new HashSet<FmsMaterialTradeCompany>();
            this.FmsMaterialWarehouse = new HashSet<FmsMaterialWarehouse>();
            this.FmsWorkCodeCauseClass = new HashSet<FmsWorkCodeCauseClass>();
            this.FmsWorkCodeCycleUnit = new HashSet<FmsWorkCodeCycleUnit>();
            this.FmsWorkCodeEmergency = new HashSet<FmsWorkCodeEmergency>();
            this.FmsWorkCodeHolidayWorkType = new HashSet<FmsWorkCodeHolidayWorkType>();
            this.FmsWorkCodeLegalInspectionAgency = new HashSet<FmsWorkCodeLegalInspectionAgency>();
            this.FmsWorkOrder = new HashSet<FmsWorkOrder>();
            this.FmsWorkRequest = new HashSet<FmsWorkRequest>();
            this.CmZoneTempHumiSet = new HashSet<CmZoneTempHumiSet>();
            this.FmsMaterial = new HashSet<FmsMaterial>();
            this.FmsMaterialRelease = new HashSet<FmsMaterialRelease>();
            this.FmsReport = new HashSet<FmsReport>();
            this.CmPatrolHistory = new HashSet<CmPatrolHistory>();
            this.CmMenu = new HashSet<CmMenu>();
            this.BemsChartInfo = new HashSet<BemsChartInfo>();
            this.BemsPeopleIncrease = new HashSet<BemsPeopleIncrease>();
            this.BemsRentalRate = new HashSet<BemsRentalRate>();
            this.BemsSitePrice = new HashSet<BemsSitePrice>();
            this.BemsSitePriceHistory = new HashSet<BemsSitePriceHistory>();
            this.BemsAlarmSetting = new HashSet<BemsAlarmSetting>();
            this.BemsEnergyConfigPercentMonth = new HashSet<BemsEnergyConfigPercentMonth>();
            this.BemsEnergyConfigPercentWeek = new HashSet<BemsEnergyConfigPercentWeek>();
        }
    
        public int SiteId { get; set; }
        public string Name { get; set; }
        public string AddressZip1 { get; set; }
        public string AddressZip2 { get; set; }
        public string Address1 { get; set; }
        public string Adderss2 { get; set; }
        public string PhoneNo { get; set; }
        public string URL { get; set; }
        public string Comment { get; set; }
        public Nullable<bool> IsUse { get; set; }
        public Nullable<int> SortOrderNo { get; set; }
        public Nullable<System.DateTime> InsertedDate { get; set; }
        public string InsertedUserId { get; set; }
        public Nullable<System.DateTime> UpdatedDate { get; set; }
        public string UpdatedUserId { get; set; }
        public Nullable<bool> IsControlSchedule { get; set; }
        public Nullable<int> ScheduleCheckHour { get; set; }
        public Nullable<double> MaxPeak { get; set; }
        public Nullable<double> lat { get; set; }
        public Nullable<double> lng { get; set; }
        public Nullable<bool> controlSchedule { get; set; }
        public string BuildingSize { get; set; }
        public string GrossArea { get; set; }
        public string BuildingArea { get; set; }
        public string FloorAreaRatio { get; set; }
        public string BuildingCoverageRatio { get; set; }
        public string MainUse { get; set; }
        public string CompletionDate { get; set; }
        public string Standard { get; set; }
        public Nullable<int> MainUseIndex { get; set; }
        public string HDD { get; set; }
        public string CDD { get; set; }
    
        public virtual ICollection<BemsPeakHistory> BemsPeakHistory { get; set; }
        public virtual BemsPeakInfo BemsPeakInfo { get; set; }
        public virtual ICollection<CmBuilding> CmBuilding { get; set; }
        public virtual ICollection<CmCompany> CmCompany { get; set; }
        public virtual ICollection<CmFacilityTempSet> CmFacilityTempSet { get; set; }
        public virtual ICollection<CmFile> CmFile { get; set; }
        public virtual ICollection<CmHoliday> CmHoliday { get; set; }
        public virtual ICollection<CmHoliday> CmHoliday1 { get; set; }
        public virtual ICollection<CmHolidayCustom> CmHolidayCustom { get; set; }
        public virtual ICollection<CmHolidayCustom> CmHolidayCustom1 { get; set; }
        public virtual CmHolidayWeekend CmHolidayWeekend { get; set; }
        public virtual ICollection<CmPatrolCourse> CmPatrolCourse { get; set; }
        public virtual ICollection<CmPatrolCoursePos> CmPatrolCoursePos { get; set; }
        public virtual ICollection<CmPatrolGroup> CmPatrolGroup { get; set; }
        public virtual ICollection<CmPatrolHistoryPos> CmPatrolHistoryPos { get; set; }
        public virtual ICollection<CmPatrolPlan> CmPatrolPlan { get; set; }
        public virtual ICollection<CmPatrolPos> CmPatrolPos { get; set; }
        public virtual ICollection<CmPatrolSchedule> CmPatrolSchedule { get; set; }
        public virtual ICollection<CmPatrolType> CmPatrolType { get; set; }
        public virtual ICollection<CmPosition> CmPosition { get; set; }
        public virtual ICollection<CmPosition> CmPosition1 { get; set; }
        public virtual ICollection<CmUserGroup> CmUserGroup { get; set; }
        public virtual ICollection<FmsDrawingCodeGroup> FmsDrawingCodeGroup { get; set; }
        public virtual ICollection<FmsDrawingCodeType> FmsDrawingCodeType { get; set; }
        public virtual ICollection<FmsDrawing> FmsDrawing { get; set; }
        public virtual ICollection<FmsDrawingCodeGroup> FmsDrawingCodeGroup1 { get; set; }
        public virtual ICollection<FmsDrawingCodeType> FmsDrawingCodeType1 { get; set; }
        public virtual ICollection<FmsFacilityCodeClass> FmsFacilityCodeClass { get; set; }
        public virtual ICollection<FmsLicense> FmsLicense { get; set; }
        public virtual ICollection<FmsMaterialCarriedForward> FmsMaterialCarriedForward { get; set; }
        public virtual ICollection<FmsMaterialCodeClass> FmsMaterialCodeClass { get; set; }
        public virtual ICollection<FmsMaterialCodeLocation> FmsMaterialCodeLocation { get; set; }
        public virtual ICollection<FmsMaterialCodeType> FmsMaterialCodeType { get; set; }
        public virtual ICollection<FmsMaterialPurchaseOrder> FmsMaterialPurchaseOrder { get; set; }
        public virtual ICollection<FmsMaterialPurchaseRequest> FmsMaterialPurchaseRequest { get; set; }
        public virtual ICollection<FmsMaterialStored> FmsMaterialStored { get; set; }
        public virtual ICollection<FmsMaterialTradeCompany> FmsMaterialTradeCompany { get; set; }
        public virtual ICollection<FmsMaterialWarehouse> FmsMaterialWarehouse { get; set; }
        public virtual ICollection<FmsWorkCodeCauseClass> FmsWorkCodeCauseClass { get; set; }
        public virtual ICollection<FmsWorkCodeCycleUnit> FmsWorkCodeCycleUnit { get; set; }
        public virtual ICollection<FmsWorkCodeEmergency> FmsWorkCodeEmergency { get; set; }
        public virtual ICollection<FmsWorkCodeHolidayWorkType> FmsWorkCodeHolidayWorkType { get; set; }
        public virtual ICollection<FmsWorkCodeLegalInspectionAgency> FmsWorkCodeLegalInspectionAgency { get; set; }
        public virtual ICollection<FmsWorkOrder> FmsWorkOrder { get; set; }
        public virtual ICollection<FmsWorkRequest> FmsWorkRequest { get; set; }
        public virtual ICollection<CmZoneTempHumiSet> CmZoneTempHumiSet { get; set; }
        public virtual ICollection<FmsMaterial> FmsMaterial { get; set; }
        public virtual ICollection<FmsMaterialRelease> FmsMaterialRelease { get; set; }
        public virtual ICollection<FmsReport> FmsReport { get; set; }
        public virtual ICollection<CmPatrolHistory> CmPatrolHistory { get; set; }
        public virtual ICollection<CmMenu> CmMenu { get; set; }
        public virtual ICollection<BemsChartInfo> BemsChartInfo { get; set; }
        public virtual ICollection<BemsPeopleIncrease> BemsPeopleIncrease { get; set; }
        public virtual ICollection<BemsRentalRate> BemsRentalRate { get; set; }
        public virtual ICollection<BemsSitePrice> BemsSitePrice { get; set; }
        public virtual ICollection<BemsSitePriceHistory> BemsSitePriceHistory { get; set; }
        public virtual ICollection<BemsAlarmSetting> BemsAlarmSetting { get; set; }
        public virtual ICollection<BemsEnergyConfigPercentMonth> BemsEnergyConfigPercentMonth { get; set; }
        public virtual ICollection<BemsEnergyConfigPercentWeek> BemsEnergyConfigPercentWeek { get; set; }
        public virtual BemsEnergyDailyRegression BemsEnergyDailyRegression { get; set; }
    }
}