namespace SafeCampus.System;
[SugarTable("ClassTeacher", TableDescription = "班主任表")]
[Tenant(SqlSugarConst.DB_DEFAULT)]
[BatchEdit]
[CodeGen]
[IgnoreInitTable]
public class ClassTeacher : PrimaryKeyEntity
{
///
/// 班主任用户id
///
[SugarColumn(ColumnName = "UserId", ColumnDescription = "班主任用户id", IsNullable = false)]
public long UserId { get; set; }
///
/// 班级id
///
public string PersonSetId { get; set; }
///
/// 班主任信息
///
[Navigate(NavigateType.OneToOne, nameof(UserId), nameof(SysUser.Id))]
public SysUser SysUserItem { get; set; }
}