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_ProductInfo { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Base_ProductInfo() { Base_ProductInfo_FactValue = new HashSet(); Base_ProductInfo_Label = new HashSet(); Base_ProductInfo_SpecRelation = new HashSet(); Base_ProductInfo_SpecValue = new HashSet(); Base_ProductPurchasePrice = new HashSet(); Base_ProductSalePrice = new HashSet(); } [Key] public long Product_Id { get; set; } [Required] [StringLength(50)] public string ProductCode { get; set; } [Required] [StringLength(500)] public string ProductName { get; set; } [StringLength(800)] public string CIQName { get; set; } [StringLength(800)] public string CIQNameCn { get; set; } [StringLength(500)] public string SubTitle { get; set; } [StringLength(50)] public string SubTitleFormat { get; set; } [Required] [StringLength(300)] public string ProductModel { 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; } [StringLength(2000)] public string ProductSpec { 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 byte? OpenSpec { get; set; } public decimal? Weight { get; set; } [StringLength(500)] public string SupplierUrl { get; set; } [StringLength(500)] public string URL { get; set; } [StringLength(50)] public string PositionName { get; set; } public int Consignor_Id { get; set; } [Required] [StringLength(50)] public string ConsignorCode { get; set; } [Required] [StringLength(150)] public string ConsignorName { get; set; } [StringLength(200)] public string ProductBarCode { get; set; } [StringLength(200)] public string BatchAttribute { get; set; } public decimal? ShelfLifeYear { get; set; } public decimal? ShelfLifeApril { get; set; } public decimal? ShelfLifeDay { get; set; } public decimal? Length { get; set; } public decimal? Width { get; set; } public decimal? Height { get; set; } public decimal? NetWeight { get; set; } [StringLength(50)] public string QualityPlan { get; set; } public int? PackageNumber { get; set; } public int? IsNeedPeriod { get; set; } public int? StopSaleday { get; set; } public decimal? QualityProportion { get; set; } [StringLength(50)] public string CustomsCode { get; set; } [StringLength(50)] public string TrafficLimitation { get; set; } public byte? IsBatchNumberSorting { get; set; } [StringLength(50)] public string RelationCode { get; set; } public decimal? Cube { get; set; } [StringLength(150)] public string AliasName { get; set; } [StringLength(350)] public string Usage { get; set; } [StringLength(50)] public string OriginPlace { get; set; } [StringLength(50)] public string Composition { get; set; } [StringLength(350)] public string Functions { get; set; } public decimal? Rate { get; set; } [StringLength(350)] public string Manufacturer { get; set; } public byte? IsSpecSorting { get; set; } [StringLength(50)] public string MiddleUnit { get; set; } public decimal? MiddleUnitConvert { get; set; } public byte? IsFullContainerLoad { 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; } public decimal? NoReceivingRate { get; set; } [StringLength(100)] public string MiddleBarcode { get; set; } public int? StopSellDays { get; set; } [StringLength(100)] public string BigBarcode { get; set; } [Column(TypeName = "money")] public decimal? RatePrice { get; set; } [Column(TypeName = "money")] public decimal? MarketPrice { 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; } [StringLength(50)] public string Currency { get; set; } [StringLength(50)] public string AdministrativeCode { get; set; } [StringLength(50)] public string PostMailCode { get; set; } [StringLength(50)] public string HSCode { get; set; } [StringLength(50)] public string DeclareUnit { get; set; } public decimal? DeclareQuantityOrder { get; set; } [StringLength(50)] public string StatutoryUnit2 { get; set; } public decimal? StatutoryQty2 { 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; } 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; } [StringLength(50)] public string UnitPackageType { get; set; } public string UnitPackage { get; set; } public string ExpandFields { get; set; } public int? ProductionLine_Id { get; set; } [StringLength(50)] public string ProductionLineCode { get; set; } [StringLength(50)] public string ProductionLineName { get; set; } [StringLength(500)] public string Destination_Id { get; set; } [StringLength(500)] public string DestinationName { get; set; } [StringLength(500)] public string ProductEdition { get; set; } [StringLength(3500)] public string Images { get; set; } public decimal? WeightTolerance { get; set; } [StringLength(50)] public string PlateType { get; set; } public int? PlateType_Id { get; set; } [StringLength(50)] public string PlateCode { get; set; } [StringLength(50)] public string OrderType { get; set; } public decimal? PackingQuantity { get; set; } public int? Plate_Id { get; set; } [StringLength(50)] public string PlateTypeCode { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Base_ProductInfo_FactValue { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Base_ProductInfo_Label { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Base_ProductInfo_SpecRelation { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Base_ProductInfo_SpecValue { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Base_ProductPurchasePrice { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Base_ProductSalePrice { get; set; } } }