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 Sale_Order_Temp { [Key] public long Temp_Id { get; set; } public int? Consignor_Id { get; set; } [StringLength(50)] public string ConsignorCode { get; set; } [StringLength(150)] public string ConsignorName { get; set; } [StringLength(500)] public string StoreOrderCode { get; set; } [StringLength(500)] public string StoreName { get; set; } [StringLength(50)] public string ClientShortName { get; set; } [StringLength(50)] public string ShippingName { get; set; } [StringLength(50)] public string ProvinceName { get; set; } [StringLength(50)] public string CityName { get; set; } [StringLength(50)] public string RegionName { get; set; } [StringLength(500)] public string ShippingAddress { get; set; } [StringLength(50)] public string Mobile { get; set; } [StringLength(50)] public string Telephone { get; set; } [StringLength(50)] public string Company { 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; } public int? QuantityOrder { get; set; } [Column(TypeName = "money")] public decimal? SalePrice { get; set; } [Column(TypeName = "money")] public decimal? SalePriceDiscount { get; set; } [Column(TypeName = "money")] public decimal? SubTotal { get; set; } [Column(TypeName = "money")] public decimal? DiscountAmount { get; set; } [Column(TypeName = "money")] public decimal? DiscountRate { get; set; } [Column(TypeName = "money")] public decimal? RowTotal { get; set; } [Column(TypeName = "money")] public decimal? ShippingAmount { get; set; } [Column(TypeName = "money")] public decimal? TotalPaid { get; set; } [Column(TypeName = "money")] public decimal? GrandTotal { get; set; } [Column(TypeName = "money")] public decimal? RowPaid { get; set; } public int? CreateID { get; set; } [StringLength(50)] public string Creator { get; set; } public DateTime? CreateDate { get; set; } public long? TempProduct_Id { get; set; } [StringLength(50)] public string TempProductCode { get; set; } public int? TempQuantity { get; set; } [Column(TypeName = "money")] public decimal? TempSalePrice { get; set; } public string Remark { get; set; } [Column(TypeName = "money")] public decimal? AttachAmount { get; set; } [StringLength(50)] public string OrderType { get; set; } public int? User_Id { get; set; } [StringLength(50)] public string UserTrueName { get; set; } [StringLength(300)] public string ExtendField01 { get; set; } [StringLength(300)] public string ExtendField02 { get; set; } [StringLength(300)] public string ExtendField03 { get; set; } [StringLength(300)] public string ExtendField04 { get; set; } [StringLength(300)] public string ExtendField05 { get; set; } [StringLength(300)] public string ExtendField06 { get; set; } [StringLength(300)] public string ExtendField07 { get; set; } [StringLength(300)] public string ExtendField08 { get; set; } [StringLength(300)] public string ExtendField09 { get; set; } [StringLength(300)] public string ExtendField10 { get; set; } public string ExpandFields { get; set; } } }