feat 菜品/菜单配置

This commit is contained in:
2024-03-18 10:01:03 +08:00
parent 6ba2d7d6a2
commit ab406adecf
32 changed files with 775 additions and 52 deletions

View File

@@ -1,6 +1,8 @@
using Kurisu.Core.DataAccess.Entity;
using Dlhis.Entity.Canteen.Enums;
using Kurisu.Core.DataAccess.Entity;
using Kurisu.SqlSugar;
using SqlSugar;
using SqlSugar.DbConvert;
namespace Dlhis.Entity.Basic.Entity;
@@ -8,22 +10,22 @@ namespace Dlhis.Entity.Basic.Entity;
public class BusinessShiftMealRelationshipEntity : SugarBaseEntity, ITenantId
{
/// <summary>
/// 餐次组合Code
/// 餐别Code
/// </summary>
[SugarColumn(ColumnDescription = "餐次组合Code", UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
[SugarColumn(ColumnDescription = "餐别Code", UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
public Guid ShiftCode { get; set; }
/// <summary>
/// 餐次组合手工号
/// 餐别手工号
/// </summary>
[SugarColumn(ColumnDescription = "餐次组合手工号")]
[SugarColumn(ColumnDescription = "餐别编码")]
public string ShiftCustomCode { get; set; }
/// <summary>
/// 餐次
/// </summary>
[SugarColumn(ColumnDescription = "餐次", UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
public string ShiftType { get; set; }
[SugarColumn(ColumnDescription = "餐次", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
public ShiftEnumType ShiftType { get; set; }
/// <summary>
/// 经营开始时间