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_ProductPositionGroup { public int? ProductPosition_Id { get; set; } [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int Storage_Id { get; set; } [Key] [Column(Order = 1)] [StringLength(50)] public string StorageName { get; set; } [Key] [Column(Order = 2)] [StringLength(50)] public string PositionName { get; set; } [Key] [Column(Order = 3)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int Product_Id { get; set; } [Key] [Column(Order = 4)] [StringLength(50)] public string ProductCode { get; set; } public string ProductSpec { get; set; } [StringLength(50)] public string SmallUnit { get; set; } [StringLength(50)] public string MiddleUnit { get; set; } [StringLength(50)] public string BigUnit { get; set; } [Key] [Column(Order = 5)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int Consignor_Id { get; set; } [Key] [Column(Order = 6)] [StringLength(50)] public string ConsignorCode { get; set; } [Key] [Column(Order = 7)] [StringLength(150)] public string ConsignorName { get; set; } [StringLength(50)] public string BatchNumber { get; set; } public DateTime? ProduceDate { get; set; } [StringLength(500)] public string ProductName { get; set; } [Key] [Column(Order = 8)] [StringLength(300)] public string ProductModel { get; set; } public decimal? ProductStorage { get; set; } public decimal? OrignStorage { get; set; } public decimal? PurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? PurchaseMoney { get; set; } public decimal? Rate { get; set; } public decimal? RatePrice { get; set; } [Column(TypeName = "money")] public decimal? RateMoney { get; set; } public int? Provider_Id { get; set; } [StringLength(50)] public string ProviderCode { get; set; } [StringLength(50)] public string ProviderShortName { get; set; } [StringLength(50)] public string SingleSignCode { get; set; } [Key] [Column(Order = 9)] public decimal PlaceholderStorage { get; set; } public decimal? ValidQuantity { get; set; } public byte? PositionType { get; set; } [StringLength(50)] public string PlateCode { get; set; } [StringLength(50)] public string RelationCode { get; set; } [StringLength(50)] public string StorageStatus { get; set; } [StringLength(50)] public string ProductAttribute { get; set; } [StringLength(100)] public string BrandName { get; set; } [StringLength(100)] public string TypeName { get; set; } public decimal? NetWeight { get; set; } [StringLength(100)] public string MiddleBarcode { get; set; } [StringLength(100)] public string BigBarcode { 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(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; } [Key] [Column(Order = 10)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int UserProduct_Id { get; set; } [StringLength(50)] public string UserProductCode { get; set; } [StringLength(100)] public string UserProductAlias { get; set; } [StringLength(50)] public string AreaCode { get; set; } public decimal? TotalWeight { get; set; } public decimal? Weight { get; set; } public decimal? unitConvert { get; set; } [StringLength(50)] public string unitConvertText { get; set; } [StringLength(50)] public string OriginPlace { get; set; } [StringLength(50)] public string ContainerNo { get; set; } public string ExpandFields { get; set; } public string DetailExpandFields { get; set; } [StringLength(50)] public string PlateType { get; set; } public decimal? DynamicWeight { get; set; } [StringLength(50)] public string ChannelCode { get; set; } [Key] [Column(Order = 11)] public DateTime InStorageDate { get; set; } public DateTime? LimitDate { get; set; } [StringLength(250)] public string TrackingNumber { get; set; } [StringLength(50)] public string PoCode { get; set; } public decimal? ValidQty { get; set; } public decimal? PositionLength { get; set; } } }