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_SaleChance { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public CRM_SaleChance() { CRM_SaleChanceList = new HashSet(); } [Key] public int SaleChance_Id { get; set; } [Required] [StringLength(50)] public string SaleChanceCode { get; set; } [StringLength(150)] public string ChanceTitle { get; set; } public int Client_Id { get; set; } [Required] [StringLength(50)] public string ClientCode { get; set; } [Required] [StringLength(50)] public string ClientShortName { get; set; } public int? Linker_Id { get; set; } [StringLength(100)] public string LinkerName { get; set; } public int? Country_Id { get; set; } [Required] [StringLength(50)] public string CountryName { get; set; } [StringLength(150)] public string CountryFullName { get; set; } public int? Dept_Id { get; set; } [StringLength(50)] public string DeptName { get; set; } [StringLength(50)] public string ChanceType { get; set; } public DateTime? ChanceDate { get; set; } [StringLength(50)] public string Phase { get; set; } [StringLength(50)] public string Source { get; set; } public int User_Id { get; set; } [Required] [StringLength(50)] public string UserTrueName { get; set; } public int? TotalQuantity { get; set; } [Column(TypeName = "money")] public decimal? TotalMoney { get; set; } [StringLength(50)] public string Provider { get; set; } public string Request { get; set; } public DateTime? PredictDate { get; set; } [Column(TypeName = "money")] public decimal? PredictMoney { get; set; } public decimal? Possibility { get; set; } public int? StatusID { get; set; } [StringLength(50)] public string StatusText { get; set; } public string Remark { 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 int? OrderNo { get; set; } public int? CreateID { get; set; } [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 int? Province_Id { get; set; } [StringLength(50)] public string ProvinceName { get; set; } public int? City_Id { get; set; } [StringLength(50)] public string CityName { get; set; } public int? Region_Id { get; set; } [StringLength(50)] public string RegionName { get; set; } [StringLength(50)] public string Zip { get; set; } [StringLength(100)] public string Tel { get; set; } [StringLength(50)] public string Mobile { get; set; } public string ShippingAddress { get; set; } [StringLength(800)] public string ShippingName { get; set; } public string Address { get; set; } [StringLength(200)] public string StorageName { get; set; } public int? Storage_Id { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CRM_SaleChanceList { get; set; } } }