using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace YBEE.EQM.Core; /// /// 高中划线参照划线 /// public class NceeBaseLine : DEntityBase { /// /// 高考分析计划ID /// [Comment("高考分析计划ID")] [Required] public int NceePlanId { get; set; } /// /// 首选科目ID /// [Comment("首选科目ID")] [Required] public short DirectionCourseId { get; set; } /// /// 划线等级 /// [Comment("划线等级")] [Required, Column(TypeName = "smallint")] public NceeLineLevel NceeLineLevel { get; set; } /// /// 比例 /// [Comment("比例")] [Required, Column(TypeName = "decimal(10, 8)")] public decimal LineRate { get; set; } = 0; /// /// 原始分划线分数 /// [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; /// /// 一对一引用(高中分析计划) /// public virtual NceePlan NceePlan { get; set; } }