
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2023-03-17 11:50:31 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
	 ///<summary>
	 ///SubjectAdditionalEvaluationResult
	 ///</summary>
	 [Table("SubjectAdditionalEvaluationResult")]	
	 public class SubjectAdditionalEvaluationResult : Entity, IAuditUpdate, IAuditAdd
	 {


        [JsonIgnore]
        [ForeignKey("TrialReadingQuestionId")]
        public ReadingQuestionTrial TrialReadingQuestion { get; set; }


        public Guid TrialReadingQuestionId { get; set; }




        public Guid SubjectId { get; set; }
	

		public Guid TrialReadingCriterionId { get; set; }
	

		public DateTime CreateTime { get; set; }
	

		public Guid CreateUserId { get; set; }
	

		public Guid UpdateUserId { get; set; }
	

		public DateTime UpdateTime { get; set; }
	

		public Guid? VisitTaskId { get; set; }
	

		public string Answer { get; set; }
	
		/// <summary>
        /// 附加评估答案翻译字典
        /// </summary>
		[Required]
		public string TranslateDictionaryCode { get; set; }=string.Empty;
	
		/// <summary>
        /// 是否是最终结果
        /// </summary>
		[Required]
		public bool IsFinalResult { get; set; }
	
		/// <summary>
        /// 最终结果
        /// </summary>
		[Required]
		public string FinalAnswer { get; set; }
	
		/// <summary>
        /// 最终结果翻字典
        /// </summary>
		[Required]
		public string FinalTranslateDictionaryCode { get; set; }
	 
	 }

}	 
