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 Sale_Order_ProductSplit { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Sale_Order_ProductSplit() { Sale_Order_ProductSplitList = new HashSet(); } [Key] public int ProductSplit_Id { get; set; } public byte? OrderChannel { get; set; } public int? StoreInfo_Id { get; set; } [StringLength(250)] public string StoreName { get; set; } public long? Product_Id { get; set; } [Required] [StringLength(50)] public string ProductCode { get; set; } [StringLength(500)] public string ProductName { get; set; } [StringLength(300)] public string ProductModel { get; set; } public string ProductSpec { get; set; } [Column(TypeName = "money")] public decimal? SalePrice { get; set; } [Column(TypeName = "money")] public decimal? OriginalPrice { get; set; } public byte? Enable { get; set; } public string Remark { 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; } [Column(TypeName = "money")] public decimal? PurchasePrice { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Sale_Order_ProductSplitList { get; set; } } }