55 lines
1.3 KiB
C#
55 lines
1.3 KiB
C#
using Kurisu.AspNetCore.DataAccess.Entity;
|
|
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Canteen.Entities;
|
|
|
|
/// <summary>
|
|
/// 订餐明细表
|
|
/// </summary>
|
|
[SugarTable(TableName = "CanteenOrderDetail", TableDescription = "订单明细表")]
|
|
public class CanteenOrderDetailEntity : SugarBaseEntity, ISoftDeleted, ITenantId
|
|
{
|
|
/// <summary>
|
|
/// 订单号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "订单号")]
|
|
public string OrderNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 菜单日期
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "订餐日期")]
|
|
public DateTime BookingDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 菜品编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "菜品编码")]
|
|
public string DishesCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单价
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "单价")]
|
|
public decimal Price { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数量
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "数量")]
|
|
public int Number { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单位
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "单位")]
|
|
public string Unit { get; set; }
|
|
|
|
public string TenantId { get; set; }
|
|
|
|
|
|
[SugarColumn(ColumnDataType = "bit")]
|
|
public bool IsDeleted { get; set; }
|
|
}
|