//--------------------------------------------------------------------
// 此代码由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
{
///
///ReadingTableQuestionAnswer
///
[Table("ReadingTableQuestionAnswer")]
public class ReadingTableQuestionAnswer : Entity, IAuditAdd
{
///
/// 问题Id
///
public Guid QuestionId { get; set; }
///
/// 表格问题Id
///
public Guid TableQuestionId { get; set; }
///
/// 任务Id
///
public Guid VisitTaskId { get; set; }
///
/// 项目Id
///
public Guid TrialId { get; set; }
///
/// 行号
///
public decimal RowIndex { get; set; }
///
/// 答案
///
public string Answer { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 创建人
///
public Guid CreateUserId { get; set; }
///
/// RowId
///
public Guid RowId { get; set; }
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
[ForeignKey("TableQuestionId")]
public ReadingTableQuestionTrial ReadingTableQuestionTrial { get; set; }
}
}