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

namespace iBemsDataService.Model
{
    using System;
    using System.Collections.Generic;
    
    public partial class FmsContract
    {
        public int SiteId { get; set; }
        public int ContractId { get; set; }
        public string Name { get; set; }
        public Nullable<int> PartnerTypeId { get; set; }
        public Nullable<int> PartnerId { get; set; }
        public Nullable<System.DateTime> ContractDate { get; set; }
        public Nullable<System.DateTime> StartDate { get; set; }
        public Nullable<System.DateTime> EndDate { get; set; }
        public string OwnerShipName { get; set; }
        public string OwnerShipPhoneNo { get; set; }
        public Nullable<short> CommitmentMan { get; set; }
        public string Comment { get; set; }
        public Nullable<int> ContractClassId { get; set; }
        public Nullable<int> ContractTypeId { get; set; }
        public Nullable<int> ContractMethodId { get; set; }
        public Nullable<int> PaymentTypeId { get; set; }
    
        public virtual CmPartner CmPartner { get; set; }
        public virtual CmPartnerType CmPartnerType { get; set; }
        public virtual FmsContractClass FmsContractClass { get; set; }
        public virtual FmsContractMethod FmsContractMethod { get; set; }
        public virtual FmsContractType FmsContractType { get; set; }
        public virtual FmsPaymentType FmsPaymentType { get; set; }
    }
}