HuanMengAdmin/admin-server/MiaoYu.Repository.Admin/Entities/Systems/SysRole.cs
2024-07-19 02:05:38 +08:00

34 lines
706 B
C#

namespace MiaoYu.Repository.Admin.Entities.Systems;
/// <summary>
/// 角色
/// </summary>
[EntityDescription(FieldIgnored = true)]
public class SysRole : DefaultEntity
{
/// <summary>
/// 编号
/// </summary>
public int? Number { get; set; }
/// <summary>
/// 角色名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 是否是管理员
/// </summary>
public bool IsAdmin { get; set; } = false;
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 删除锁 ,如果是 true 则不能删除
/// </summary>
public bool DeleteLock { get; set; } = false;
}