36 lines
874 B
C#
36 lines
874 B
C#
using Kurisu.Core.DataAccess.Entity;
|
|
using Kurisu.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Canteen.Entities;
|
|
|
|
[SugarTable(TableName = "DishesCategory", TableDescription = "菜品分类")]
|
|
public class DishesCategoryEntity : SugarBaseEntity, ITenantId
|
|
{
|
|
/// <summary>
|
|
/// PCode
|
|
/// </summary>
|
|
public Guid? PCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Code
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false)]
|
|
public Guid Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 分类名称
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "名称")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 序号
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "序号", DefaultValue = "100")]
|
|
public int Sequence { get; set; } = 100;
|
|
|
|
|
|
public string TenantId { get; set; }
|
|
}
|