平安校园
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DepartmentInfo.cs 711 B

1234567891011121314151617181920
  1. namespace SafeCampus.System;
  2. [SugarTable("DepartmentInfo", TableDescription = "院系信息表")]
  3. [Tenant(SqlSugarConst.DB_DEFAULT)]
  4. [BatchEdit]
  5. [CodeGen]
  6. //[IgnoreInitTable]
  7. public class DepartmentInfo : PrimaryKeyEntity
  8. {
  9. /// <summary>
  10. /// 院系名称
  11. /// </summary>
  12. [SugarColumn(ColumnName = "Name", ColumnDescription = "院系名称", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = false)]
  13. public string Name { get; set; }
  14. /// <summary>
  15. /// 院系编码
  16. /// </summary>
  17. [SugarColumn(ColumnName = "Code", ColumnDescription = "院系编码", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = false)]
  18. public string Code { get; set; }
  19. }