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 vBase_ProductInfo_SKU { [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long MainProduct_Id { get; set; } [Key] [Column(Order = 1)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int IsMainProduct { get; set; } [Key] [Column(Order = 2)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Product_Id { get; set; } [Key] [Column(Order = 3)] [StringLength(50)] public string ProductCode { get; set; } [Key] [Column(Order = 4)] [StringLength(500)] public string ProductName { get; set; } [Key] [Column(Order = 5)] [StringLength(300)] public string ProductModel { get; set; } [StringLength(50)] public string RelationCode { get; set; } [StringLength(2000)] public string ProductSpec { get; set; } public int? Brand_Id { get; set; } [StringLength(100)] public string BrandName { get; set; } public int? BrandSeries_Id { get; set; } [StringLength(50)] public string BrandSeriesName { get; set; } public int? BigType_Id { get; set; } [StringLength(100)] public string BigTypeName { get; set; } public int? Type_Id { get; set; } [StringLength(100)] public string TypeName { get; set; } public string FullType_Id { get; set; } public string FullTypeName { get; set; } public int? Provider_Id { get; set; } [StringLength(50)] public string ProviderCode { get; set; } [StringLength(50)] public string ProviderShortName { get; set; } public int? Purchase_Id { get; set; } [StringLength(50)] public string PurchaseName { get; set; } [StringLength(50)] public string SmallUnit { get; set; } [StringLength(50)] public string BigUnit { get; set; } public decimal? UnitConvert { get; set; } [StringLength(50)] public string UnitConvertText { get; set; } [Column(TypeName = "money")] public decimal? PurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? SalePrice { get; set; } [Column(TypeName = "money")] public decimal? DayPrice { get; set; } [Column(TypeName = "money")] public decimal? VipPrice { get; set; } [Column(TypeName = "money")] public decimal? ActivityPrice { get; set; } public decimal? StorageUpper { get; set; } public decimal? StorageLower { get; set; } public byte? IsLimitBuy { get; set; } public decimal? TransitDays { get; set; } public decimal? AvgPrice { get; set; } public string Labels { get; set; } public byte? IsHot { get; set; } public string ProductDesc { get; set; } public long? ClickCount { get; set; } public int? ProductStatus { get; set; } public byte? PromoStatus { get; set; } public byte? Auditing { get; set; } [StringLength(50)] public string Auditor { get; set; } public DateTime? AuditDate { get; set; } public byte? RefuseAuditing { get; set; } public string Remark { 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? Enable { get; set; } public byte? OpenSpec { get; set; } public decimal? Weight { get; set; } public decimal? NetWeight { get; set; } [StringLength(500)] public string SupplierUrl { get; set; } [StringLength(500)] public string URL { get; set; } [StringLength(500)] public string SubTitle { get; set; } [StringLength(50)] public string SubTitleFormat { get; set; } [StringLength(800)] public string CIQName { get; set; } [StringLength(800)] public string CIQNameCn { get; set; } [Key] [Column(Order = 6)] [StringLength(1)] public string SpecAlias { get; set; } [StringLength(50)] public string PositionName { get; set; } [Key] [Column(Order = 7)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int Consignor_Id { get; set; } [Key] [Column(Order = 8)] [StringLength(50)] public string ConsignorCode { get; set; } [Key] [Column(Order = 9)] [StringLength(150)] public string ConsignorName { get; set; } [StringLength(50)] public string QualityPlan { get; set; } public decimal? QualityProportion { get; set; } public byte? IsBatchNumberSorting { get; set; } public int? IsNeedPeriod { get; set; } [StringLength(350)] public string Manufacturer { get; set; } public byte? IsSpecSorting { get; set; } public byte? IsFullContainerLoad { get; set; } [StringLength(50)] public string MiddleUnit { get; set; } [StringLength(50)] public string RelationCode2 { get; set; } [StringLength(50)] public string RelationCode3 { get; set; } [StringLength(50)] public string RelationCode4 { get; set; } [StringLength(50)] public string RelationCode5 { get; set; } [StringLength(100)] public string MiddleBarcode { get; set; } public decimal? MiddleUnitConvert { get; set; } [StringLength(100)] public string BigBarcode { get; set; } public decimal? ShelfLifeDay { get; set; } public decimal? NoReceivingRate { get; set; } public int? StopSaleday { get; set; } [Column(TypeName = "money")] public decimal? RatePrice { get; set; } [Column(TypeName = "money")] public decimal? marketPrice { get; set; } public decimal? Rate { get; set; } public decimal? PurchaseMoney { get; set; } public decimal? TaxAmount { get; set; } [StringLength(300)] public string ExtendField01 { get; set; } [StringLength(300)] public string ExtendField02 { get; set; } [StringLength(300)] public string ExtendField03 { get; set; } [StringLength(300)] public string ExtendField04 { get; set; } [StringLength(300)] public string ExtendField05 { get; set; } [StringLength(300)] public string ExtendField06 { get; set; } [StringLength(300)] public string ExtendField07 { get; set; } [StringLength(300)] public string ExtendField08 { get; set; } [StringLength(300)] public string ExtendField09 { get; set; } [StringLength(300)] public string ExtendField10 { get; set; } public int? UserProduct_Id { get; set; } [StringLength(50)] public string UserProductCode { get; set; } [StringLength(100)] public string UserProductAlias { get; set; } [StringLength(50)] public string OriginPlace { get; set; } public string UnitPackage { get; set; } public string ExpandFields { get; set; } [StringLength(50)] public string UnitPackageType { get; set; } [StringLength(50)] public string PlateTypeCode { get; set; } } }