using Dlhis.Entity.Sys.Enums; using Kurisu.Core.DataAccess.Entity; using SqlSugar; using SqlSugar.DbConvert; namespace Dlhis.Entity.Sys.Entities; /// /// 菜单权限 /// [SugarTable(TableName = "MenuPermission", TableDescription = "菜单权限")] public class MenuPermissionEntity : SugarBaseEntity, ITenantId, ISoftDeleted { /// /// 权限类型 /// [SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "权限类型", SqlParameterDbType = typeof(EnumToStringConvert))] public MenuPermissionTypeEnumType UniqueType { get; set; } /// /// 类型值 /// [SugarColumn(ColumnDescription = "类型值")] public string UniqueValue { get; set; } /// /// 菜单code /// [SugarColumn(ColumnDescription = "菜单code")] public string Code { get; set; } public string TenantId { get; set; } public bool IsDeleted { get; set; } }