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

51 lines
1.3 KiB
C#

using System;
namespace EntrustSettle.Model.Dtos
{
public class OrderHistoryDto
{
public long Id { get; set; }
/// <summary>
/// 订单主键
/// </summary>
public long Pid { get; set; }
/// <summary>
/// 业务状态
/// </summary>
public int Status { get; set; }
/// <summary>
/// 业务状态名称
/// </summary>
public string StatusName => Status switch
{
0 => "已下单",
1 => "已接单",
2 => "待缴费",
3 => "已缴费",
4 => "已完结",
5 => "申请发票",
6 => "申请账单",
7 => "收到发票",
8 => "收到账单",
9 => "收到往来单据",
_ => "未知状态"
};
/// <summary>
/// 金额
/// </summary>
public decimal? Amount { get; set; }
/// <summary>
/// 状态备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 状态时间
/// </summary>
public DateTime? StatusTime { get; set; }
/// <summary>
/// 操作人
/// </summary>
public string CreateBy { get; set; }
}
}