fix 字段修改

This commit is contained in:
cheche
2024-03-14 17:19:43 +08:00
parent 53dd000f34
commit 5be226aef2
21 changed files with 379 additions and 31 deletions

View File

@@ -68,8 +68,8 @@ namespace Dlhis.Entity.Canteen.Entities
/// <summary>
/// 餐次
/// </summary>
[SugarColumn(ColumnDescription = "餐次", IsNullable = true)]
public string ShiftType { get; set; }
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), ColumnDescription = "餐次")]
public ShiftEnumType ShiftType { get; set; }
/// <summary>
/// 菜品
@@ -107,6 +107,12 @@ namespace Dlhis.Entity.Canteen.Entities
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), ColumnDescription = "订单状态")]
public MiniProgramOrderStatusEnumType OrderStatus { get; set; }
/// <summary>
/// 订单类型
/// </summary>
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), ColumnDescription = "订单类型")]
public CanteenDishesEnumType OrderType { get; set; }
/// <summary>
/// 总金额
/// </summary>

View File

@@ -2,11 +2,6 @@
using Kurisu.SqlSugar;
using SqlSugar;
using SqlSugar.DbConvert;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dlhis.Entity.Canteen.Entities
{
@@ -23,16 +18,16 @@ namespace Dlhis.Entity.Canteen.Entities
public string ThirdNo { get; set; }
/// <summary>
/// 营业日
/// 营业日(用餐日期)
/// </summary>
[SugarColumn(ColumnDescription = "营业日")]
public DateOnly BusinessDate { get; set; }
public DateOnly SysDate { get; set; }
/// <summary>
/// 餐别
/// 餐次
/// </summary>
[SugarColumn(ColumnDescription = "餐别")]
public string ShiftType { get; set; }
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), ColumnDescription = "餐次")]
public ShiftEnumType ShiftType { get; set; }
/// <summary>
/// 菜品编码
@@ -44,7 +39,7 @@ namespace Dlhis.Entity.Canteen.Entities
/// 菜品名称
/// </summary>
[SugarColumn(ColumnDescription = "菜品名称")]
public Guid DishesName { get; set; }
public string DishesName { get; set; }
/// <summary>
/// 单价

View File

@@ -42,7 +42,7 @@ public class ApkFileEntity : SugarBaseEntity
/// 产品代码
/// </summary>
[SugarColumn(ColumnDescription = "产品代码")]
public string? ProductCode { get; set; }
public string ProductCode { get; set; }
}