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