68 lines
1.7 KiB
C#
68 lines
1.7 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.Enum;
|
|
using UserCenter.Model.Interface;
|
|
|
|
namespace Learn.Archives.Core.Model
|
|
{
|
|
/// <summary>
|
|
/// 考试
|
|
/// </summary>
|
|
[SugarTable("exam")]
|
|
public class Exam : EntityBaseId, IDB
|
|
{
|
|
/// <summary>
|
|
/// 考试名称
|
|
/// </summary>
|
|
[SugarColumn(Length = 20)]
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// 年级
|
|
/// </summary>
|
|
[SugarColumn(Length = 12)]
|
|
public GradeEnum Level { get; set; }
|
|
/// <summary>
|
|
/// 试卷类型
|
|
/// </summary>
|
|
public TestPaperTypeEnum TestPaperType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 考试类型
|
|
/// </summary>
|
|
public ExamTypeEnum Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 划线分数
|
|
/// </summary>
|
|
public decimal ScoreLine { get; set; }
|
|
/// <summary>
|
|
/// 资源校平均分
|
|
/// </summary>
|
|
public decimal BaseSchoolScore { get; set; }
|
|
/// <summary>
|
|
/// 参与班级数量
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true)]
|
|
public int? ClassCount { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
public DateTime CreateTime { get; set; } = DateTime.Now;
|
|
/// <summary>
|
|
/// 考试开始时间
|
|
/// </summary>
|
|
public DateTime StartTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 考试结束时间
|
|
/// </summary>
|
|
public DateTime EndTime { get; set; }
|
|
|
|
}
|
|
}
|