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.

26 lines
561 B
C#

9 months ago
using EntrustSettle.Model.Models;
namespace EntrustSettle.Model.Dtos
{
/// <summary>
/// 订单详情Dto
/// </summary>
9 months ago
public class OrderDto : Order
{
/// <summary>
/// 业务类型名称
/// </summary>
public string BusinessTypeName => BusinessType switch
{
1 => "港杂费",
2 => "堆存费",
_ => ""
};
9 months ago
/// <summary>
/// 当前业务状态名称
/// </summary>
9 months ago
public string StatusName => Status.ToString();
9 months ago
}
}