fix 字段名称,消费金额,实体注解

This commit is contained in:
2024-01-11 14:26:52 +08:00
parent 7aa907a049
commit 1e98d9816a
3 changed files with 4 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ public class DepartmentEntity : SugarBaseEntity
/// <summary>
/// 部门号
/// </summary>
[SugarColumn(ColumnDescription = "部门号")]
[SugarColumn(ColumnDescription = "部门号", IsNullable = false)]
public string No { get; set; }
/// <summary>
@@ -24,6 +24,6 @@ public class DepartmentEntity : SugarBaseEntity
/// <summary>
/// 部门名称
/// </summary>
[SugarColumn(ColumnDescription = "部门名称")]
[SugarColumn(ColumnDescription = "部门名称" , IsNullable = false)]
public string Name { get; set; }
}