namespace SafeCampus.System; [SugarTable("DepartmentInfo", TableDescription = "院系信息表")] [Tenant(SqlSugarConst.DB_DEFAULT)] [BatchEdit] [CodeGen] //[IgnoreInitTable] public class DepartmentInfo : PrimaryKeyEntity { /// /// 院系名称 /// [SugarColumn(ColumnName = "Name", ColumnDescription = "院系名称", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = false)] public string Name { get; set; } /// /// 院系编码 /// [SugarColumn(ColumnName = "Code", ColumnDescription = "院系编码", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = false)] public string Code { get; set; } }