using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace YBEE.EQM.Core; /// /// 高中科目有效分 /// public class NceeCourseLineScore : IEntity { /// /// 主键 /// [Comment("主键")] [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } /// /// 高中分析计划ID /// [Comment("高中分析计划ID")] [Required] public int NceePlanId { get; set; } /// /// 划线等级 /// [Comment("划线等级")] [Required, Column(TypeName = "smallint")] public NceeLineLevel NceeLineLevel { get; set; } /// /// 首选科目ID /// [Comment("首选科目ID")] public short DirectionCourseId { get; set; } /// /// 科目ID /// [Comment("科目ID")] [Required] public short CourseId { get; set; } /// /// 原始划线分 /// [Comment("原始划线分")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal LineScore { get; set; } = 0; /// /// 赋分划线分 /// [Comment("赋分划线分")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal LineScoreX { get; set; } = 0; }