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 Log_StorageStatusChange { [Key] public int Log_Id { get; set; } [StringLength(50)] public string Result { get; set; } [StringLength(50)] public string OperationType { get; set; } public int ProductPosition_Id { get; set; } [StringLength(50)] public string BillCode { get; set; } [StringLength(50)] public string EnterCode { get; set; } [StringLength(50)] public string OrderCode { 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; } public int? ShelfLifeDay { get; set; } public DateTime? ShelfLifeDate { get; set; } public int? ValidShelfLifeDay { get; set; } [StringLength(50)] public string StorageStatus { get; set; } [StringLength(50)] public string ProductAttribute { get; set; } public int Class_Id { get; set; } [Required] [StringLength(50)] public string ClassName { get; set; } public int MainID { get; set; } public int DetailID { get; set; } public int Storage_Id { get; set; } [Required] [StringLength(50)] public string StorageName { 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(500)] public string ProductName { get; set; } [Required] [StringLength(300)] public string ProductModel { get; set; } public string ProductSpec { get; set; } [StringLength(50)] public string SingleSignCode { get; set; } public DateTime InStorageDate { get; set; } public int Provider_Id { get; set; } [Required] [StringLength(50)] public string ProviderCode { get; set; } [Required] [StringLength(50)] public string ProviderShortName { get; set; } public int? ProductStorage { get; set; } public int? OrignStorage { get; set; } [Column(TypeName = "money")] public decimal? PurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? PurchaseMoney { get; set; } [Column(TypeName = "money")] public decimal? Rate { get; set; } [Column(TypeName = "money")] public decimal? RatePrice { get; set; } [Column(TypeName = "money")] public decimal? RateMoney { get; set; } [Column(TypeName = "money")] public decimal? AvgPrice { 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 string ExpandFields { get; set; } } }