
Some checks failed
TechAct / explore-gitea-actions (push) Failing after 13s
- 重构AppMainStruct、AssignmentQuestion、Question等实体模型 - 更新相关DTO以匹配新的数据结构 - 优化前端页面布局和组件 - 添加全局信息和笔记功能相关代码 - 更新数据库迁移和程序配置
25 lines
469 B
C#
25 lines
469 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Entities.Contracts
|
|
{
|
|
[Table("global")]
|
|
public class Global
|
|
{
|
|
[Key]
|
|
[Column("id")]
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public SubjectAreaEnum Area { get; set; }
|
|
|
|
public string Info { get; set; } = string.Empty;
|
|
}
|
|
|
|
|
|
}
|