using Dlhis.Entity.Canteen.Enums;
using Kurisu.AspNetCore.Utils.Extensions;
namespace Dlhis.Canteen.Order.Response;
public class GetDetailResponse
{
///
/// 订单号
///
public string ThirdNo { get; set; }
///
/// 营业日
///
public DateOnly SysDate { get; set; }
///
/// 餐次
///
public ShiftEnumType ShiftType { get; set; }
///
/// 餐次CN
///
public string ShiftTypeCN => ShiftType.GetDescription();
///
/// 菜品编码
///
public Guid DishesCode { get; set; }
///
/// 菜品名称
///
public string DishesName { get; set; }
///
/// 单价
///
public decimal Price { get; set; }
///
/// 单位
///
public string Unit { get; set; }
///
/// 数量
///
public int Num { get; set; }
///
/// 金额
///
public decimal Amount { get; set; }
///
/// 订单明细状态
///
public OrderDetailsStatusEnumType OrderStatus { get; set; }
///
/// 订单明细状态CN
///
public string OrderStatusCN => OrderStatus.GetDescription();
}