//------------------------------------------------------------------------------
// 
//    이 코드는 템플릿에서 생성되었습니다.
//
//    이 파일을 수동으로 변경하면 응용 프로그램에 예기치 않은 동작이 발생할 수 있습니다.
//    코드가 다시 생성되면 이 파일에 대한 수동 변경 사항을 덮어씁니다.
// 
//------------------------------------------------------------------------------
namespace iBemsDataService.Model
{
    using System;
    using System.Collections.Generic;
    
    public partial class CmSite
    {
        public CmSite()
        {
            this.BemsPeakHistory = new HashSet();
            this.CmBuilding = new HashSet();
            this.CmCompany = new HashSet();
            this.CmFacilityTempSet = new HashSet();
            this.CmFile = new HashSet();
            this.CmHoliday = new HashSet();
            this.CmHoliday1 = new HashSet();
            this.CmHolidayCustom = new HashSet();
            this.CmHolidayCustom1 = new HashSet();
            this.CmPatrolCourse = new HashSet();
            this.CmPatrolCoursePos = new HashSet();
            this.CmPatrolGroup = new HashSet();
            this.CmPatrolHistoryPos = new HashSet();
            this.CmPatrolPlan = new HashSet();
            this.CmPatrolPos = new HashSet();
            this.CmPatrolSchedule = new HashSet();
            this.CmPatrolType = new HashSet();
            this.CmPosition = new HashSet();
            this.CmPosition1 = new HashSet();
            this.CmUserGroup = new HashSet();
            this.FmsDrawingCodeGroup = new HashSet();
            this.FmsDrawingCodeType = new HashSet();
            this.FmsDrawing = new HashSet();
            this.FmsDrawingCodeGroup1 = new HashSet();
            this.FmsDrawingCodeType1 = new HashSet();
            this.FmsFacilityCodeClass = new HashSet();
            this.FmsLicense = new HashSet();
            this.FmsMaterialCarriedForward = new HashSet();
            this.FmsMaterialCodeClass = new HashSet();
            this.FmsMaterialCodeLocation = new HashSet();
            this.FmsMaterialCodeType = new HashSet();
            this.FmsMaterialPurchaseOrder = new HashSet();
            this.FmsMaterialPurchaseRequest = new HashSet();
            this.FmsMaterialStored = new HashSet();
            this.FmsMaterialTradeCompany = new HashSet();
            this.FmsMaterialWarehouse = new HashSet();
            this.FmsWorkCodeCauseClass = new HashSet();
            this.FmsWorkCodeCycleUnit = new HashSet();
            this.FmsWorkCodeEmergency = new HashSet();
            this.FmsWorkCodeHolidayWorkType = new HashSet();
            this.FmsWorkCodeLegalInspectionAgency = new HashSet();
            this.FmsWorkOrder = new HashSet();
            this.FmsWorkRequest = new HashSet();
            this.CmZoneTempHumiSet = new HashSet();
            this.FmsMaterial = new HashSet();
            this.FmsMaterialRelease = new HashSet();
            this.FmsReport = new HashSet();
            this.CmPatrolHistory = new HashSet();
            this.CmMenu = new HashSet();
            this.BemsChartInfo = new HashSet();
            this.BemsPeopleIncrease = new HashSet();
            this.BemsRentalRate = new HashSet();
            this.BemsSitePrice = new HashSet();
            this.BemsSitePriceHistory = new HashSet();
            this.BemsAlarmSetting = new HashSet();
            this.BemsEnergyConfigPercentMonth = new HashSet();
            this.BemsEnergyConfigPercentWeek = new HashSet();
        }
    
        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 IsUse { get; set; }
        public Nullable SortOrderNo { get; set; }
        public Nullable InsertedDate { get; set; }
        public string InsertedUserId { get; set; }
        public Nullable UpdatedDate { get; set; }
        public string UpdatedUserId { get; set; }
        public Nullable IsControlSchedule { get; set; }
        public Nullable ScheduleCheckHour { get; set; }
        public Nullable MaxPeak { get; set; }
        public Nullable lat { get; set; }
        public Nullable lng { get; set; }
        public Nullable 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 MainUseIndex { get; set; }
        public string HDD { get; set; }
        public string CDD { get; set; }
    
        public virtual ICollection BemsPeakHistory { get; set; }
        public virtual BemsPeakInfo BemsPeakInfo { get; set; }
        public virtual ICollection CmBuilding { get; set; }
        public virtual ICollection CmCompany { get; set; }
        public virtual ICollection CmFacilityTempSet { get; set; }
        public virtual ICollection CmFile { get; set; }
        public virtual ICollection CmHoliday { get; set; }
        public virtual ICollection CmHoliday1 { get; set; }
        public virtual ICollection CmHolidayCustom { get; set; }
        public virtual ICollection CmHolidayCustom1 { get; set; }
        public virtual CmHolidayWeekend CmHolidayWeekend { get; set; }
        public virtual ICollection CmPatrolCourse { get; set; }
        public virtual ICollection CmPatrolCoursePos { get; set; }
        public virtual ICollection CmPatrolGroup { get; set; }
        public virtual ICollection CmPatrolHistoryPos { get; set; }
        public virtual ICollection CmPatrolPlan { get; set; }
        public virtual ICollection CmPatrolPos { get; set; }
        public virtual ICollection CmPatrolSchedule { get; set; }
        public virtual ICollection CmPatrolType { get; set; }
        public virtual ICollection CmPosition { get; set; }
        public virtual ICollection CmPosition1 { get; set; }
        public virtual ICollection CmUserGroup { get; set; }
        public virtual ICollection FmsDrawingCodeGroup { get; set; }
        public virtual ICollection FmsDrawingCodeType { get; set; }
        public virtual ICollection FmsDrawing { get; set; }
        public virtual ICollection FmsDrawingCodeGroup1 { get; set; }
        public virtual ICollection FmsDrawingCodeType1 { get; set; }
        public virtual ICollection FmsFacilityCodeClass { get; set; }
        public virtual ICollection FmsLicense { get; set; }
        public virtual ICollection FmsMaterialCarriedForward { get; set; }
        public virtual ICollection FmsMaterialCodeClass { get; set; }
        public virtual ICollection FmsMaterialCodeLocation { get; set; }
        public virtual ICollection FmsMaterialCodeType { get; set; }
        public virtual ICollection FmsMaterialPurchaseOrder { get; set; }
        public virtual ICollection FmsMaterialPurchaseRequest { get; set; }
        public virtual ICollection FmsMaterialStored { get; set; }
        public virtual ICollection FmsMaterialTradeCompany { get; set; }
        public virtual ICollection FmsMaterialWarehouse { get; set; }
        public virtual ICollection FmsWorkCodeCauseClass { get; set; }
        public virtual ICollection FmsWorkCodeCycleUnit { get; set; }
        public virtual ICollection FmsWorkCodeEmergency { get; set; }
        public virtual ICollection FmsWorkCodeHolidayWorkType { get; set; }
        public virtual ICollection FmsWorkCodeLegalInspectionAgency { get; set; }
        public virtual ICollection FmsWorkOrder { get; set; }
        public virtual ICollection FmsWorkRequest { get; set; }
        public virtual ICollection CmZoneTempHumiSet { get; set; }
        public virtual ICollection FmsMaterial { get; set; }
        public virtual ICollection FmsMaterialRelease { get; set; }
        public virtual ICollection FmsReport { get; set; }
        public virtual ICollection CmPatrolHistory { get; set; }
        public virtual ICollection CmMenu { get; set; }
        public virtual ICollection BemsChartInfo { get; set; }
        public virtual ICollection BemsPeopleIncrease { get; set; }
        public virtual ICollection BemsRentalRate { get; set; }
        public virtual ICollection BemsSitePrice { get; set; }
        public virtual ICollection BemsSitePriceHistory { get; set; }
        public virtual ICollection BemsAlarmSetting { get; set; }
        public virtual ICollection BemsEnergyConfigPercentMonth { get; set; }
        public virtual ICollection BemsEnergyConfigPercentWeek { get; set; }
        public virtual BemsEnergyDailyRegression BemsEnergyDailyRegression { get; set; }
    }
}