namespace SafeCampus.System;
[SugarTable("PersonSetInfo", TableDescription = "班级信息表")]
[Tenant(SqlSugarConst.DB_DEFAULT)]
[BatchEdit]
[CodeGen]
[IgnoreInitTable]
public class PersonSetInfo
{
///
/// 班级id
///
[SugarColumn(ColumnDescription = "班级id", IsPrimaryKey = true)]
public string PersonSetId { get; set; }
///
/// 班级名称
///
[SugarColumn(ColumnName = "PersonSetName", ColumnDescription = "班级名称", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = false)]
public string PersonSetName { get; set; }
///
/// 班主任信息
///
[Navigate(NavigateType.OneToOne, nameof(ClassTeacher.PersonSetId),nameof(PersonSetId))]
public ClassTeacher ClassTeacherItem { get; set; }
}