init 项目代码初始化
This commit is contained in:
43
Src/Dlhis.Entity/Canteen/Entities/CanteenOrderEntity.cs
Normal file
43
Src/Dlhis.Entity/Canteen/Entities/CanteenOrderEntity.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using Dlhis.Entity.Canteen.Enums;
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
namespace Dlhis.Entity.Canteen.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 就餐订单
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "CanteenOrder", TableDescription = "就餐订单")]
|
||||
public class CanteenOrderEntity : BalanceRecordEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求json
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "请求json")]
|
||||
public string RequestJson { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 第三方订单号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "第三方订单号")]
|
||||
public string ThirdNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单状态
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), ColumnDescription = "订单状态")]
|
||||
public CanteenOrderStatusEnumType OrderStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否离线数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "请求json")]
|
||||
public bool IsOffline { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 处理结果
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "处理结果")]
|
||||
public string Result { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user