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_ProductPositionHistory { [Key] public int History_Id { get; set; } public int Class_Id { get; set; } [Required] [StringLength(50)] public string ClassName { 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; } [Required] [StringLength(50)] public string Code { get; set; } public int MainID { get; set; } public int DetailID { get; set; } public int? Position_Id { get; set; } [Required] [StringLength(50)] public string PositionName { get; set; } public long Product_Id { get; set; } [Required] [StringLength(50)] public string ProductCode { get; set; } [Required] [StringLength(2500)] public string ProductName { get; set; } [StringLength(50)] public string ProductModel { get; set; } public string ProductSpec { get; set; } public decimal? InQuantity { get; set; } public decimal? OutQuantity { get; set; } [Column(TypeName = "money")] public decimal InMoney { get; set; } [Column(TypeName = "money")] public decimal OutMoney { get; set; } public decimal? BeforeQuantity { get; set; } public decimal? AfterQuantity { get; set; } [Column(TypeName = "money")] public decimal AfterMoney { get; set; } public int? Storage_Id { get; set; } [StringLength(50)] public string StorageName { 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 Consignor_Id { get; set; } [Required] [StringLength(50)] public string ConsignorCode { get; set; } [Required] [StringLength(150)] public string ConsignorName { get; set; } [StringLength(50)] public string BatchNumber { get; set; } public DateTime? ProduceDate { get; set; } [StringLength(50)] public string PlateCode { get; set; } [StringLength(50)] public string RelationCode { 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 decimal? InWeight { get; set; } public decimal? OutWeight { get; set; } public decimal? BeforeWeight { get; set; } public decimal? AfterWeight { 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 int? PlateType_Id { get; set; } public decimal? DynamicWeight { get; set; } [StringLength(250)] public string TrackingNumber { get; set; } [StringLength(50)] public string SaleCode { get; set; } [StringLength(50)] public string PoCode { get; set; } [StringLength(50)] public string TypeName { get; set; } public DateTime? InStorageDate { get; set; } public DateTime? LimitDate { get; set; } [StringLength(50)] public string StorageStatus { get; set; } [StringLength(50)] public string ProductAttribute { get; set; } [StringLength(50)] public string SmallUnit { get; set; } } }