using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace YBEE.EQM.Core; /// /// 高中赋分转换等级 /// public class NceeConvertGrade : IEntity { /// /// 主键 /// [Comment("主键")] [Key, DatabaseGenerated(DatabaseGeneratedOption.None)] public short Id { get; set; } /// /// 名称 /// [Comment("名称")] [Required, StringLength(50)] public string Name { get; set; } /// /// 序 /// [Comment("序")] [Required] public short Sequence { get; set; } = 0; /// /// 占比 /// [Comment("占比")] [Required, Column(TypeName = "decimal(10, 8)")] public decimal Rate { get; set; } /// /// 起始比例 /// [Comment("起始比例")] [Required, Column(TypeName = "decimal(10, 8)")] public decimal BeginRate { get; set; } /// /// 结束比例 /// [Comment("结束比例")] [Required, Column(TypeName = "decimal(10, 8)")] public decimal EndRate { get; set; } /// /// 下限分数 /// [Comment("下限分数")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal MinScore { get; set; } /// /// 上限分数 /// [Comment("上限分数")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal MaxScore { get; set; } /// /// 备注 /// [Comment("备注")] [StringLength(200)] public string Remark { get; set; } }