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 GuanYi_SaleOrder
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public GuanYi_SaleOrder()
|
{
|
GuanYi_SaleOrderList = new HashSet<GuanYi_SaleOrderList>();
|
}
|
|
[Key]
|
public long OrderRelation_Id { get; set; }
|
|
public int? Consignor_Id { get; set; }
|
|
[StringLength(50)]
|
public string ConsignorCode { get; set; }
|
|
[StringLength(150)]
|
public string ConsignorName { get; set; }
|
|
public int? StoreInfo_Id { get; set; }
|
|
[StringLength(250)]
|
public string StoreName { get; set; }
|
|
public long Order_Id { get; set; }
|
|
[Required]
|
[StringLength(50)]
|
public string OrderCode { get; set; }
|
|
[StringLength(50)]
|
public string code { get; set; }
|
|
[StringLength(50)]
|
public string order_type_name { get; set; }
|
|
[StringLength(50)]
|
public string platform_code { get; set; }
|
|
public DateTime? createtime { get; set; }
|
|
public DateTime? dealtime { get; set; }
|
|
public DateTime? paytime { get; set; }
|
|
public byte? cod { get; set; }
|
|
public byte? approve { get; set; }
|
|
public int? delivery_state { get; set; }
|
|
[StringLength(50)]
|
public string warehouse_code { get; set; }
|
|
[StringLength(50)]
|
public string warehouse_name { get; set; }
|
|
[StringLength(50)]
|
public string shop_code { get; set; }
|
|
[StringLength(50)]
|
public string shop_name { get; set; }
|
|
[StringLength(50)]
|
public string express_code { get; set; }
|
|
[StringLength(50)]
|
public string express_name { get; set; }
|
|
[StringLength(200)]
|
public string buyer_memo { get; set; }
|
|
[StringLength(200)]
|
public string seller_memo { get; set; }
|
|
[StringLength(200)]
|
public string seller_memo_late { get; set; }
|
|
[StringLength(50)]
|
public string vip_code { get; set; }
|
|
[StringLength(50)]
|
public string vip_name { get; set; }
|
|
[StringLength(50)]
|
public string receiver_name { get; set; }
|
|
[StringLength(50)]
|
public string receiver_phone { get; set; }
|
|
[StringLength(50)]
|
public string receiver_mobile { get; set; }
|
|
[StringLength(50)]
|
public string receiver_zip { get; set; }
|
|
[StringLength(50)]
|
public string receiver_area { get; set; }
|
|
[StringLength(200)]
|
public string receiver_address { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? amount { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? payment_amount { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? post_fee { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? discount_fee { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? payment { get; set; }
|
|
public int? qty { get; set; }
|
|
public decimal? weight_origin { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? post_cost { get; set; }
|
|
[StringLength(50)]
|
public string pay_type_name { get; set; }
|
|
[StringLength(50)]
|
public string invoice_type_name { get; set; }
|
|
[StringLength(50)]
|
public string invoice_title { get; set; }
|
|
[StringLength(200)]
|
public string invoice_content { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? invoice_amount { get; set; }
|
|
[StringLength(50)]
|
public string delivery_code { get; set; }
|
|
[StringLength(50)]
|
public string mail_no { get; set; }
|
|
public byte? printExpress { get; set; }
|
|
public byte? printDeliveryList { get; set; }
|
|
public byte? scan { get; set; }
|
|
public byte? weight { get; set; }
|
|
public byte? delivery { get; set; }
|
|
public int? CreateID { get; set; }
|
|
[StringLength(50)]
|
public string Creator { get; set; }
|
|
public DateTime? CreateDate { get; set; }
|
|
public int? ModifyID { get; set; }
|
|
[StringLength(50)]
|
public string Modifier { get; set; }
|
|
public DateTime? ModifyDate { get; set; }
|
|
public string ExpandFields { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<GuanYi_SaleOrderList> GuanYi_SaleOrderList { get; set; }
|
}
|
}
|