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 vStorage_ProfitLossList { public long? ProfitLossList_Id { get; set; } [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int ProfitLoss_Id { get; set; } [Key] [Column(Order = 1)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Product_Id { get; set; } [StringLength(50)] public string ProductCode { get; set; } [StringLength(500)] public string ProductName { get; set; } [StringLength(300)] public string ProductModel { get; set; } [StringLength(50)] public string RelationCode { get; set; } public int? ProductStorage { get; set; } public int? CheckQuantity { get; set; } public int? ReCheckQuantity { get; set; } public int? CheckDiff { get; set; } public int? ReCheckDiff { get; set; } public int? ProfitQuantity { get; set; } public int? LossQuantity { get; set; } public int? Qty { get; set; } public DateTime? ProduceDate { get; set; } public DateTime? LimitDate { get; set; } [Key] [Column(Order = 2)] [StringLength(50)] public string PositionName { get; set; } public decimal? TotalWeight { get; set; } public decimal? Weight { get; set; } [Column(TypeName = "money")] public decimal? ProfitMoney { get; set; } [Column(TypeName = "money")] public decimal? LossMoney { get; set; } public decimal? ProfitWeight { get; set; } } }