//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2021-11-11 17:01:49 
//     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
	 ///<summary>
	 ///TrialQCQuestionRecord
	 ///</summary>
	 [Table("TrialQCQuestionAnswer")]	
	 public class TrialQCQuestionAnswer : Entity, IAuditUpdate, IAuditAdd
	 {
	 
		
		/// <summary>
        /// TrialId
        /// </summary>
		[Required]
		public Guid TrialId { get; set; }
	
		/// <summary>
        /// Answer
        /// </summary>
		[Required]
		public string Answer { get; set; }
	
		/// <summary>
        /// ChildAnswer
        /// </summary>
		//[Required]
		//public string ChildAnswer { get; set; }
	

	
		/// <summary>
        /// CreateUserId
        /// </summary>
		[Required]
		public Guid CreateUserId { get; set; }
	
		/// <summary>
        /// CreateTime
        /// </summary>
		[Required]
		public DateTime CreateTime { get; set; }
	
		/// <summary>
        /// UpdateTime
        /// </summary>
		[Required]
		public DateTime UpdateTime { get; set; }
	
		/// <summary>
        /// UpdateUserId
        /// </summary>
		[Required]
		public Guid UpdateUserId { get; set; }	

		public TrialQCProcess QCProcessEnum { get; set; }

		// 1代表第一个人QC数据  2 代表第二个人QC数据
		public CurrentQC CurrentQCEnum { get; set; }

		public Guid SubjectVisitId { get; set; }

		//public string Note { get; set; }

		public Guid TrialQCQuestionConfigureId { get; set; }

		[JsonIgnore]
		public TrialQCQuestion TrialQCQuestionConfigure { get; set; }

	}

	
}