招聘后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

116 lines
2.9 KiB

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