添加表格答案表

Test.EIImageViewer
he 2022-08-22 09:30:50 +08:00
parent 8c03058f5b
commit b387e4fdb4
3 changed files with 60 additions and 1 deletions

View File

@ -0,0 +1,57 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-08-22 09:26:04
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///ReadingTableQuestionAnswer
///</summary>
[Table("ReadingTableQuestionAnswer")]
public class ReadingTableQuestionAnswer : Entity, IAuditAdd
{
/// <summary>
/// 问题Id
/// </summary>
public Guid QuestionId { get; set; }
/// <summary>
/// 任务Id
/// </summary>
public Guid TaskId { get; set; }
/// <summary>
/// 项目Id
/// </summary>
public Guid TrialId { get; set; }
/// <summary>
/// 行号
/// </summary>
public int RowIndex { get; set; }
/// <summary>
/// 答案
/// </summary>
public string Answer { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
public Guid CreateUserId { get; set; }
}
}

View File

@ -439,6 +439,8 @@ namespace IRaCIS.Core.Infra.EFCore
public virtual DbSet<SystemNoticeUserType> SystemNoticeUserType { get; set; }
public virtual DbSet<ReadingTableQuestionAnswer> ReadingTableQuestionAnswer { get; set; }
#region 废弃

View File

@ -4,7 +4,7 @@
public static readonly string ConnectionString = "Server=123.56.94.154,1433\\MSSQLSERVER;Database=IRaCIS_New_Tet;User ID=sa;Password=dev123456DEV;TrustServerCertificate=true";
public static readonly string DbDatabase = "IRaCIS_New_Tet";
//表名称用字符串,拼接
public static readonly string TableName = "ReadingTableQuestionTrial";
public static readonly string TableName = "ReadingTableQuestionAnswer";
//具体文件里面 例如service 可以配置是否分页
}
#>