| | |
| | | /// <summary> |
| | | /// 部门名称 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true,IsIgnore = true, Length = 50, ColumnDescription = "部门名称")] |
| | | [SugarColumn(IsNullable = true, IsIgnore = true, Length = 50, ColumnDescription = "部门名称")] |
| | | public string DeptName { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "角色名称")] |
| | | public string RoleName { get; set; } |
| | | |
| | | [Navigate(NavigateType.OneToMany, nameof(ParentId), nameof(RoleId)), SugarColumn(IsIgnore = true, IsNullable = true)] |
| | | public List<Sys_Role> Roles { get; set; } |
| | | //[Navigate(NavigateType.OneToMany, nameof(ParentId), nameof(RoleId)), SugarColumn(IsIgnore = true, IsNullable = true)] |
| | | //public List<Sys_Role> Roles { get; set; } |
| | | } |
| | | } |