49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
using Kurisu.Core.DataAccess.Entity;
|
|
using Kurisu.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
[SugarTable(TableName = "BusinessShiftMealRelationship", TableDescription = "营业点餐次组合")]
|
|
public class BusinessShiftMealRelationshipEntity : SugarBaseEntity, ITenantId
|
|
{
|
|
/// <summary>
|
|
/// 餐次组合Code
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "餐次组合Code", UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
|
|
public Guid ShiftCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 餐次组合手工号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "餐次组合手工号")]
|
|
public string ShiftCustomCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 餐次
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "餐次", UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
|
|
public string ShiftType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 经营开始时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "经营开始时间")]
|
|
public TimeOnly Start { get; set; }
|
|
|
|
/// <summary>
|
|
/// 经营结束时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "经营结束时间")]
|
|
public TimeOnly End { get; set; }
|
|
|
|
/// <summary>
|
|
/// 序号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "序号")]
|
|
public int Sequence { get; set; }
|
|
|
|
|
|
public string TenantId { get; set; }
|
|
}
|