using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Znyc.Recruitment.Admin.Commons.Entitys; namespace Znyc.Recruitment.Admin.Security.Entitys { /// /// 订单实体 /// [Table("rm_order")] [Serializable] public class OrderEntity : BaseEntity { /// /// 订单编号 /// [MaxLength(12)] public string OrderSn { get; set; } /// /// 下单人ID /// public long UserId { get; set; } /// /// 收货人姓名 /// [MaxLength(6)] public string ShippingUser { get; set; } /// /// 收货人所在省 /// public long Province { get; set; } /// /// 收货人所在市 /// public long City { get; set; } /// /// 收货人所在区 /// public long Area { get; set; } /// /// 收货人详细地址 /// [MaxLength(55)] public string Address { get; set; } /// /// 支付方式:1现金,2余额,3网银,4支付宝,5微信.6云币 /// public int PaymentMethod { get; set; } /// /// 订单金额 /// public decimal OrderMoney { get; set; } /// /// 优惠金额 /// public decimal DistrictMoney { get; set; } /// /// 支付金额 /// public decimal PaymentMoney { get; set; } /// /// 快递公司名称 /// [MaxLength(8)] public string ShippingCompName { get; set; } /// /// 快递单号 /// [MaxLength(15)] public string ShippingSn { get; set; } /// /// 发货时间 /// public DateTime? ShippingTime { get; set; } /// /// 支付时间 /// public DateTime PayTime { get; set; } /// /// 收货时间 /// public DateTime? ReceiveTime { get; set; } /// /// 订单状态:0-已取消-10-未付款,20-已付款,40-已发货,50-交易成功,60-交易关闭 /// public int OrderStatus { get; set; } /// /// 订单积分 /// public int OrderPoint { get; set; } /// /// 发票抬头 /// [MaxLength(25)] public string InvoiceTitle { get; set; } } }