using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace YBEE.EQM.Core; /// /// 高中分析学生信息 /// public class NceeStudent : IEntity { /// /// 主键 /// [Comment("主键")] [Key, DatabaseGenerated(DatabaseGeneratedOption.None)] public long Id { get; set; } /// /// 高中分析计划ID /// [Comment("高中分析计划ID")] [Required] public int NceePlanId { get; set; } /// /// 机构ID /// [Comment("机构ID")] [Required] public short SysOrgId { get; set; } /// /// 年级ID /// [Comment("年级ID")] [Required] public short GradeId { get; set; } /// /// 班号 /// [Comment("班号")] [Required] public short ClassNumber { get; set; } /// /// 姓名 /// [Comment("姓名")] public string Name { get; set; } /// /// 考号 /// [Comment("考号")] [Required] public string ExamNumber { get; set; } /// /// 首选科目ID /// [Comment("首选科目ID")] public short? DirectionCourseId { get; set; } /// /// 选科组合ID /// [Comment("选科组合ID")] public short? NceeCourseCombId { get; set; } /// /// 原始总分 /// [Comment("原始总分")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal Score { get; set; } = 0; /// /// 赋分总分 /// [Comment("赋分总分")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal ScoreX { get; set; } = 0; /// /// 整体原始分排名 /// [Comment("整体原始分排名")] public int OrderInTotal { get; set; } = 0; /// /// 整体转换分排名 /// [Comment("整体转换分排名")] public int OrderInTotalX { get; set; } = 0; /// /// 机构原始分排名 /// [Comment("机构原始分排名")] public int OrderInOrg { get; set; } = 0; /// /// 机构转换分排名 /// [Comment("机构转换分排名")] public int OrderInOrgX { get; set; } = 0; /// /// 一对一引用(机构) /// public virtual SysOrg SysOrg { get; set; } }