namespace wcftest.orm { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class CRM_SaleQuotation { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public CRM_SaleQuotation() { CRM_SaleQuotationList = new HashSet(); } [Key] public int Quotation_Id { get; set; } [StringLength(50)] public string QuotationCode { get; set; } public int? Provider_Id { get; set; } [StringLength(50)] public string ProviderCode { get; set; } [StringLength(50)] public string ProviderShortName { get; set; } public int? SaleChance_Id { get; set; } [StringLength(50)] public string SaleChanceCode { get; set; } [StringLength(150)] public string ChanceTitle { get; set; } public int User_Id { get; set; } [Required] [StringLength(50)] public string UserTrueName { get; set; } public int? Dept_Id { get; set; } [StringLength(50)] public string DeptName { get; set; } public int? Linker_Id { get; set; } [StringLength(100)] public string LinkerName { get; set; } public DateTime? ArrivedDate { get; set; } public DateTime? ApplyDate { get; set; } public byte? IsTransferOrder { get; set; } public int TotalQuantity { get; set; } [Column(TypeName = "money")] public decimal? TotalSaleMoney { get; set; } [StringLength(500)] public string TurnOver { get; set; } public byte? StatusID { get; set; } [StringLength(50)] public string StatusText { get; set; } [StringLength(50)] public string Auditor { get; set; } public byte? Auditing { get; set; } public DateTime? AuditDate { get; set; } public string AuditRemark { get; set; } public string Remark { get; set; } public int CreateID { get; set; } [Required] [StringLength(50)] public string Creator { get; set; } public DateTime? CreateDate { get; set; } public int? ModifyID { get; set; } [StringLength(50)] public string Modifier { get; set; } public DateTime? ModifyDate { get; set; } public int? Consignor_Id { get; set; } [StringLength(50)] public string ConsignorCode { get; set; } [StringLength(150)] public string ConsignorName { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CRM_SaleQuotationList { get; set; } } }