重构项目结构,移除Assignment相关功能,优化Submission模块
Some checks failed
TechAct / explore-gitea-actions (push) Failing after 12s

This commit is contained in:
SpecialX
2025-10-09 18:57:28 +08:00
parent 403b34a098
commit ac900159ba
289 changed files with 11948 additions and 20150 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Entities.Contracts
{
[Table("exam_type")]
public class ExamType
{
[Key]
[Column("id")]
public Guid Id { get; set; }
[Column("name")]
[MaxLength(20)]
public string Name { get; set; }
[Column("description")]
public string Description { get; set; }
[InverseProperty(nameof(Exam.ExamType))]
public virtual ICollection<Exam> Exams { get; set; }
public ExamType()
{
Id = Guid.NewGuid();
Exams = new HashSet<Exam>();
}
}
}