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 WDT_Product { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public WDT_Product() { WDT_ProductSKU = new HashSet(); } [Key] public long ProductRelation_Id { get; set; } public int? Consignor_Id { get; set; } [StringLength(50)] public string ConsignorCode { get; set; } [StringLength(150)] public string ConsignorName { get; set; } public int? StoreInfo_Id { get; set; } [Required] [StringLength(500)] public string StoreName { get; set; } public long? Product_Id { get; set; } [StringLength(128)] public string ProductCode { get; set; } [StringLength(500)] public string ProductName { get; set; } [StringLength(120)] public string GoodsNO { get; set; } [StringLength(500)] public string GoodsName { get; set; } public decimal? Weight { get; set; } [Column(TypeName = "money")] public decimal? Price { get; set; } [StringLength(50)] public string BarCode { 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 string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WDT_ProductSKU { get; set; } } }