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 vBase_ProductSplitGroup { public int? ProductPosition_Id { get; set; } [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int Storage_Id { get; set; } [Key] [Column(Order = 1)] [StringLength(50)] public string StorageName { get; set; } [Key] [Column(Order = 2)] [StringLength(50)] public string PositionName { get; set; } public long? Product_Id { get; set; } [Key] [Column(Order = 3)] [StringLength(50)] public string ProductCode { get; set; } [StringLength(500)] public string ProductName { get; set; } [StringLength(300)] public string ProductModel { get; set; } public string ProductSpec { get; set; } public int? ProductStorage { get; set; } public int? Consignor_Id { get; set; } [StringLength(50)] public string ConsignorCode { get; set; } [StringLength(150)] public string ConsignorName { get; set; } [Column(TypeName = "money")] public decimal? PurchasePrice { get; set; } [Column(TypeName = "money")] public decimal? PurchaseMoney { get; set; } public int? Provider_Id { get; set; } [StringLength(50)] public string ProviderCode { get; set; } [StringLength(50)] public string ProviderShortName { get; set; } } }