37 lines
1020 B
C#
37 lines
1020 B
C#
using Dlhis.Entity.Sys.Enums;
|
|
using Kurisu.Core.DataAccess.Entity;
|
|
using Kurisu.SqlSugar;
|
|
using SqlSugar;
|
|
using SqlSugar.DbConvert;
|
|
|
|
namespace Dlhis.Entity.Sys.Entities;
|
|
|
|
/// <summary>
|
|
/// 菜单权限
|
|
/// </summary>
|
|
[SugarTable(TableName = "MenuPermission", TableDescription = "菜单权限")]
|
|
public class MenuPermissionEntity : SugarBaseEntity, ITenantId, ISoftDeleted
|
|
{
|
|
/// <summary>
|
|
/// 权限分配类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "权限分配类型", SqlParameterDbType = typeof(EnumToStringConvert))]
|
|
public AssignTypeEnumType 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; }
|
|
} |