//------------------------------------------------------------------------------
// 
//    이 코드는 템플릿에서 생성되었습니다.
//
//    이 파일을 수동으로 변경하면 응용 프로그램에 예기치 않은 동작이 발생할 수 있습니다.
//    코드가 다시 생성되면 이 파일에 대한 수동 변경 사항을 덮어씁니다.
// 
//------------------------------------------------------------------------------
namespace iBemsDataService.Model
{
    using System;
    using System.Collections.Generic;
    
    public partial class CmBusinessField
    {
        public CmBusinessField()
        {
            this.CmAnnouncement = new HashSet();
            this.FmsFacilityManual = new HashSet();
            this.FmsLicense = new HashSet();
            this.FmsMaterialCarriedForward = new HashSet();
            this.FmsMaterialCodeLocation = new HashSet();
            this.FmsMaterialPurchaseOrder = new HashSet();
            this.FmsMaterialPurchaseRequest = new HashSet();
            this.FmsMaterialStored = new HashSet();
            this.FmsMaterialWarehouse = new HashSet();
            this.FmsWorkOrder = new HashSet();
            this.FmsWorkRequest = new HashSet();
            this.FmsWorkSchedule = new HashSet();
            this.CmUser = new HashSet();
            this.FmsMaterial = new HashSet();
            this.FmsMaterialRelease = new HashSet();
            this.FmsReport = new HashSet();
            this.FmsDailyReport = new HashSet();
        }
    
        public int SiteId { get; set; }
        public int BusinessFieldId { get; set; }
        public string Name { get; set; }
        public Nullable IsUse { get; set; }
    
        public virtual ICollection CmAnnouncement { get; set; }
        public virtual ICollection FmsFacilityManual { get; set; }
        public virtual ICollection FmsLicense { get; set; }
        public virtual ICollection FmsMaterialCarriedForward { get; set; }
        public virtual ICollection FmsMaterialCodeLocation { get; set; }
        public virtual ICollection FmsMaterialPurchaseOrder { get; set; }
        public virtual ICollection FmsMaterialPurchaseRequest { get; set; }
        public virtual ICollection FmsMaterialStored { get; set; }
        public virtual ICollection FmsMaterialWarehouse { get; set; }
        public virtual ICollection FmsWorkOrder { get; set; }
        public virtual ICollection FmsWorkRequest { get; set; }
        public virtual ICollection FmsWorkSchedule { get; set; }
        public virtual ICollection CmUser { get; set; }
        public virtual ICollection FmsMaterial { get; set; }
        public virtual ICollection FmsMaterialRelease { get; set; }
        public virtual ICollection FmsReport { get; set; }
        public virtual ICollection FmsDailyReport { get; set; }
    }
}