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