using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace YBEE.EQM.Core; /// /// 转换区间分数 /// public class NceeConvertRange : IEntity { /// /// 主键 /// [Comment("主键")] [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } /// /// 高中分析计划ID /// [Comment("高中分析计划ID")] [Required] public int NceePlanId { get; set; } /// /// 高中赋分转换等级 /// [Comment("高中赋分转换等级")] [Required] public short NceeConvertGradeId { get; set; } /// /// 科目ID /// [Comment("科目ID")] [Required] public short CourseId { get; set; } /// /// 下限 /// [Comment("下限")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal MinScore { get; set; } /// /// 上限 /// [Comment("上限")] [Required, Column(TypeName = "decimal(10, 8)")] public decimal MaxScore { get; set; } }