using YBEE.EQM.Core;

namespace YBEE.EQM.Application;

public class NceeScoreImportDto
{
    /// <summary>
    /// 主键
    /// </summary>
    public long Id { get; set; } = Yitter.IdGenerator.YitIdHelper.NextId();
    /// <summary>
    /// 高中学生ID
    /// </summary>
    public long NceeStudentId { get; set; }
    /// <summary>
    /// 科目ID
    /// </summary>
    public short CourseId { get; set; }
    /// <summary>
    /// 原始分
    /// </summary>
    public decimal Score { get; set; } = 0;
    /// <summary>
    /// 赋分
    /// </summary>
    public decimal ScoreX { get; set; } = 0;
    /// <summary>
    /// 转换等级ID
    /// </summary>
    public short? NceeConvertGradeId { get; set; }
    /// <summary>
    /// 转换等级
    /// </summary>
    public string NceeConvertGradeName { get; set; }
}

public class NceeScoreImportCourseDto
{
    /// <summary>
    /// 科目名称
    /// </summary>
    public string CourseName { get; set; }
    public Course Course { get; set; }
    /// <summary>
    /// 是否原始分
    /// </summary>
    public bool IsRawScore { get; set; }
    /// <summary>
    /// 是否转换分
    /// </summary>
    public bool IsConvertScore { get; set; }
    /// <summary>
    /// 是否转换等级
    /// </summary>
    public bool IsConvertGrade { get; set; }
}
