using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
namespace YBEE.EQM.Core;
///
/// 班级学生
///
[Comment("班级学生")]
public class SchoolClassStudent : DEntityBase
{
///
/// 机构ID
///
[Comment("机构ID")]
[Required]
public short SysOrgId { get; set; }
///
/// 班级ID
///
[Comment("班级ID")]
[Required]
public long SchoolClassId { get; set; }
///
/// 人员ID
///
[Comment("人员ID")]
public int PersonId { get; set; }
///
/// 学籍号
///
[Comment("学籍号")]
[StringLength(100)]
public string StudentNumber { get; set; } = "";
///
/// 高中选科组合ID
///
[Comment("高中选科组合ID")]
public short? NceeCourseCombId { get; set; }
///
/// 一对一引用(机构)
///
public virtual SysOrg SysOrg { get; set; }
///
/// 一对一引用(学校班级)
///
public virtual SchoolClass SchoolClass { get; set; }
///
/// 一对一引用(人员)
///
public virtual Person Person { get; set; }
///
/// 一对一引用(高中选科组合)
///
public virtual NceeCourseComb NceeCourseComb { get; set; }
}