namespace IWareDataAccess.EF { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class View_ITEMSTORAGE { [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int id { get; set; } [StringLength(50)] public string itemName { get; set; } [StringLength(50)] public string itemDes { get; set; } [StringLength(50)] public string createLine { get; set; } public decimal? price { get; set; } [StringLength(50)] public string unit { get; set; } public decimal? weight { get; set; } public decimal? weightDifference { get; set; } public int? maxNum { get; set; } [StringLength(500)] public string useContainerType { get; set; } public int? itemNum { get; set; } [Key] [Column(Order = 1)] [StringLength(6)] public string storageName { get; set; } public decimal? totalCost { get; set; } public int? placeCount { get; set; } [Key] [Column(Order = 2)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int minStorage { get; set; } [Key] [Column(Order = 3)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int maxStorage { get; set; } [Key] [Column(Order = 4)] [StringLength(2)] public string isMoreDay { get; set; } [Key] [Column(Order = 5)] [StringLength(2)] public string isLessDay { get; set; } [Key] [Column(Order = 6)] [StringLength(2)] public string isOverDay { get; set; } } }