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 Base_ProductPurchasePrice { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int PriceID { get; set; } public int Provider_Id { get; set; } [Key] [Column(Order = 0)] [StringLength(50)] public string ProviderCode { get; set; } [Required] [StringLength(50)] public string ProviderShortName { get; set; } public long Product_Id { get; set; } [Key] [Column(Order = 1)] [StringLength(50)] public string ProductCode { get; set; } public int? PlatUser_Id { get; set; } [StringLength(50)] public string PlatUserCode { get; set; } [StringLength(50)] public string PlatUserName { get; set; } [StringLength(50)] public string PlatCorpName { get; set; } public int? UserProduct_Id { get; set; } [StringLength(50)] public string UserProductCode { get; set; } [StringLength(100)] public string UserProductAlias { get; set; } [StringLength(2500)] public string ProductName { get; set; } public double? PurchasePrice { get; set; } public double? VipPrice { get; set; } public double? PriceRate { get; set; } public int? Brand_Id { get; set; } [StringLength(100)] public string BrandName { 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; } [StringLength(50)] public string DeleteBy { get; set; } public int? Enable { get; set; } public string ExpandFields { get; set; } public virtual Base_ProductInfo Base_ProductInfo { get; set; } } }