using System.ComponentModel.DataAnnotations.Schema; namespace Atomx.Admin.Client.Models { public class RoleModel { /// /// 数据ID /// public int Id { get; set; } /// /// 角色类型 /// public int Type { get; set; } /// /// 角色名称 /// public string Name { get; set; } = string.Empty; /// /// 说明 /// public string Description { get; set; } = string.Empty; /// /// 权限 /// public string Permission { get; set; } = string.Empty; /// /// 是否系统角色 /// public bool IsSystemRole { get; set; } /// /// 是否可用 /// public bool Enabled { get; set; } /// /// 是否是编辑 /// public bool IsEdit { get; set; } } }