feat: 完善部门编号字段

This commit is contained in:
橙子
2024-10-15 23:26:18 +08:00
parent ae2cc7ad9b
commit 22ba44c271
3 changed files with 27 additions and 11 deletions

View File

@@ -63,12 +63,12 @@ namespace Yi.Framework.Rbac.Domain.Entities
/// <summary>
/// 部门名称
///</summary>
public string DeptName { get; set; } = string.Empty;
public string DeptName { get; set; }
/// <summary>
/// 部门编码
///</summary>
[SugarColumn(ColumnName = "DeptCode")]
public string DeptCode { get; set; } = string.Empty;
public string DeptCode { get; set; }
/// <summary>
/// 负责人
///</summary>