namespace wcftest.orm { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("vShelfLifeEarlyWarning")] public partial class vShelfLifeEarlyWarning { [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long ProductPosition_Id { get; set; } [Key] [Column(Order = 1)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int Storage_Id { get; set; } [Key] [Column(Order = 2)] [StringLength(50)] public string StorageName { get; set; } [Key] [Column(Order = 3)] [StringLength(50)] public string PositionName { get; set; } [Key] [Column(Order = 4)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Product_Id { get; set; } [Key] [Column(Order = 5)] [StringLength(50)] public string ProductCode { get; set; } [Key] [Column(Order = 6)] [StringLength(500)] public string ProductName { get; set; } [StringLength(50)] public string BatchNumber { get; set; } [StringLength(50)] public string PlateCode { 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; } [Key] [Column(Order = 10)] public DateTime InStorageDate { get; set; } public int? ProductStorage { get; set; } public DateTime? ProduceDate { get; set; } public int? Type_Id { get; set; } [StringLength(100)] public string TypeName { get; set; } public int? ShelfLifeDay { get; set; } public DateTime? ShelfLifeDate { get; set; } public int? StopSaleday { get; set; } public int? ValidityDay { get; set; } public int? StorageAdvanceDay { get; set; } [StringLength(50)] public string AreaCode { get; set; } public int? UserProduct_Id { 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; } [StringLength(50)] public string UserProductCode { get; set; } [StringLength(100)] public string UserProductAlias { get; set; } [Key] [Column(Order = 11)] [StringLength(300)] public string ProductModel { get; set; } } }