127 lines
3.4 KiB
C#
127 lines
3.4 KiB
C#
using Learn.Archives.Core.Model.Enum;
|
|
using Learn.Archives.Core.Model.Interface;
|
|
using SqlSugar;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Net;
|
|
using System.Text.Json;
|
|
using UserCenter.Model;
|
|
using UserCenter.Model.Common;
|
|
using UserCenter.Model.Enum;
|
|
using UserCenter.Model.Interface;
|
|
|
|
namespace Learn.Archives.Core.Model
|
|
{
|
|
/// <summary>
|
|
/// 班级考试详情
|
|
/// </summary>
|
|
[SugarTable("examclassinfo")]
|
|
public class ExamClassInfo : EntityBaseId, IDB
|
|
{
|
|
/// <summary>
|
|
/// 考试Id
|
|
/// </summary>
|
|
[SugarColumn(Length = 20)]
|
|
public long ExamId { get; set; }
|
|
/// <summary>
|
|
/// 考试名称
|
|
/// </summary>
|
|
[SugarColumn(Length = 20)]
|
|
public string ExamName { get; set; }
|
|
/// <summary>
|
|
/// 考试班级id
|
|
/// </summary>
|
|
public long ClassId { get; set; }
|
|
/// <summary>
|
|
/// 考试班级名称
|
|
/// </summary>
|
|
[SugarColumn(Length = 20)]
|
|
public string ClassName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 考试班级所属学校ID
|
|
/// </summary>
|
|
[SugarColumn(Length = 20)]
|
|
public string SchoolName { get; set; }
|
|
/// <summary>
|
|
/// 考试班级所属学校名称
|
|
/// </summary>
|
|
public long SchoolId { get; set; }
|
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string Grade => GradeHelper.GetGrade(GradeLevel, GradeYear);
|
|
/// <summary>
|
|
/// 年级
|
|
/// </summary>
|
|
public string GradeLevel { get; set; }
|
|
/// <summary>
|
|
/// 毕业年份 毕业届
|
|
/// </summary>
|
|
public int GradeYear { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上线率 考试排名
|
|
/// </summary>
|
|
public decimal OnLineRanking { get; set; }
|
|
/// <summary>
|
|
/// 上线率
|
|
/// </summary>
|
|
public decimal OnLineRate { get; set; }
|
|
/// <summary>
|
|
/// 上线人数
|
|
/// </summary>
|
|
public int OnLineCount { get; set; }
|
|
/// <summary>
|
|
/// 参加人数
|
|
/// </summary>
|
|
public int PeopleCount { get; set; }
|
|
/// <summary>
|
|
/// 最高分(赋分)
|
|
/// </summary>
|
|
public decimal MaxScore { get; set; }
|
|
/// <summary>
|
|
/// 最低分(赋分)
|
|
/// </summary>
|
|
public decimal MinScore { get; set; }
|
|
/// <summary>
|
|
/// 平均分(赋分)
|
|
/// </summary>
|
|
public decimal Average { get; set; }
|
|
/// <summary>
|
|
/// 平均分排名(赋分)
|
|
/// </summary>
|
|
public decimal AverageRank { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 资源校平均分
|
|
/// </summary>
|
|
public decimal Average1 { get; set; }
|
|
/// <summary>
|
|
/// 资源校平均分 排名
|
|
/// </summary>
|
|
public decimal AverageRank1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 资源校平均分
|
|
/// </summary>
|
|
public decimal BaseSchoolScore { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 录入人Id
|
|
/// </summary>
|
|
public long EntryPersonId { get; set; }
|
|
/// <summary>
|
|
/// 录入人名称
|
|
/// </summary>
|
|
public string EntryPerson { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
public DateTime CreateTime { get; set; } = DateTime.Now;
|
|
|
|
|
|
}
|
|
}
|