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