feat 菜单订单控制器

This commit is contained in:
cheche
2024-03-13 18:55:12 +08:00
parent 20cf421a3c
commit 53dd000f34
19 changed files with 785 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
using Kurisu.SqlSugar;
using Dlhis.Entity.Canteen.Enums;
using Dlhis.Entity.Device.Enums;
using Kurisu.SqlSugar;
using SqlSugar;
using System;
using System.Collections.Generic;
@@ -54,8 +56,8 @@ public class CanteenMenuEntity : SugarBaseEntity
/// <summary>
/// 餐次段
/// </summary>
[SugarColumn(ColumnDescription = "餐次段", IsNullable = true)]
public List<string> ShiftTypes { get; set; }
[SugarColumn(ColumnDataType = "varchar(150)", IsJson = true, ColumnDescription = "餐次段", DefaultValue = "[]")]
public List<ShiftEnumType> ShiftTypes { get; set; }
/// <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
{
@@ -49,6 +44,7 @@ namespace Dlhis.Entity.Canteen.Entities
/// <summary>
/// 成本中心
/// </summary>
[SugarColumn(ColumnDescription = "成本中心")]
public string CostId { get; set; }
/// <summary>