From 4276a2ba4a57e92377cd8e516b533b99ebb79cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Wed, 30 Jul 2025 15:02:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Learn.Archives.Core/Model/ExamUserInfo.cs | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Learn.Archives.Core/Model/ExamUserInfo.cs diff --git a/Learn.Archives.Core/Model/ExamUserInfo.cs b/Learn.Archives.Core/Model/ExamUserInfo.cs new file mode 100644 index 0000000..c9d3583 --- /dev/null +++ b/Learn.Archives.Core/Model/ExamUserInfo.cs @@ -0,0 +1,78 @@ +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 +{ + /// + /// 班级考试详情 + /// + [SugarTable("examuserinfo")] + public class ExamUserInfo : EntityBaseId, IDB + { + /// + /// 考试Id + /// + [SugarColumn(Length = 20)] + public required string ExamId { get; set; } + /// + /// 考试名称 + /// + [SugarColumn(Length = 20)] + public required string ExamName { get; set; } + + /// + /// 年级 + /// + [SugarColumn(Length = 12)] + public GradeEnum Level { get; set; } + /// + /// 试卷类型 + /// + public TestPaperTypeEnum TestPaperType { get; set; } + + /// + /// 考试类型 + /// + public ExamTypeEnum Type { get; set; } + + /// + /// 学生id + /// 来自 + /// + public long UserId { get; set; } + + /// + /// 赋分后的总分 + /// + public decimal AssignScore { get; set; } + + /// + /// 学科成绩 + /// json字符串 + /// + public string SubjectDic { get; set; } + + + /// + /// 赋分后的总分排名 + /// + public int AssignRanking { get; set; } + + + + + /// + /// 创建时间 + /// + public DateTime CreateTime { get; set; } = DateTime.Now; + + + } +}