平安校园
 
 
 
 
 
 

19 lines
691 B

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