
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2022-08-17 14:36:04 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
	 ///<summary>
	 /// 项目阅片问题
	 ///</summary>
	 [Table("ReadingTableQuestionTrial")]	
	 public class ReadingTableQuestionTrial : Entity, IAuditAdd
	 {
		/// <summary>
        /// TrialId
        /// </summary>
		public Guid TrialId { get; set; }
	
		/// <summary>
        /// ReadingQuestionId
        /// </summary>
		public Guid ReadingQuestionId { get; set; }
	
		/// <summary>
        /// Type
        /// </summary>
		public string Type { get; set; }
	
		/// <summary>
        /// ParentId
        /// </summary>
		public Guid? ParentId { get; set; }
	
		/// <summary>
        /// ParentTriggerValue
        /// </summary>
		public string ParentTriggerValue { get; set; }
	
		/// <summary>
        /// QuestionName
        /// </summary>
		public string QuestionName { get; set; }
	
		/// <summary>
        /// IsRequired
        /// </summary>
		public IsRequired IsRequired { get; set; }
	
		/// <summary>
        /// ShowOrder
        /// </summary>
		public int ShowOrder { get; set; }
	
		/// <summary>
        /// TypeValue
        /// </summary>
		public string TypeValue { get; set; }
	
		/// <summary>
        /// IsEnable
        /// </summary>
		public bool IsEnable { get; set; }
	
		/// <summary>
        /// CreateTime
        /// </summary>
		public DateTime CreateTime { get; set; }
	
		/// <summary>
        /// CreateUserId
        /// </summary>
		public Guid CreateUserId { get; set; }
	
		/// <summary>
        /// Remark
        /// </summary>
		public string Remark { get; set; }
	
		/// <summary>
        /// RelevanceId
        /// </summary>
		public Guid? RelevanceId { get; set; }
	
		/// <summary>
        /// RelevanceValue
        /// </summary>
		public string RelevanceValue { get; set; }
	
		/// <summary>
        /// ShowQuestion
        /// </summary>
		public int ShowQuestion { get; set; }
	
		/// <summary>
        /// MaxRowCount
        /// </summary>
		public int? MaxRowCount { get; set; }
	
		/// <summary>
        /// DataTableName
        /// </summary>
		public string DataTableName { get; set; }
	
		/// <summary>
        /// DataTableColumn
        /// </summary>
		public string DataTableColumn { get; set; }

		/// <summary>
		/// TableQuestionType
		/// </summary>
		public TableQuestionType? TableQuestionType { get; set; }
	
		/// <summary>
        /// DependParentId
        /// </summary>
		public Guid? DependParentId { get; set; }

		/// <summary>
		/// IsDepend
		/// </summary>
		public IsDepend? IsDepend { get; set; }


		/// <summary>
		/// 项目标准Id
		/// </summary>
		public Guid TrialCriterionId { get; set; }

		/// <summary>
		/// 问题标识
		/// </summary>
		public QuestionMark? QuestionMark { get; set; }


		/// <summary>
		/// 字典code
		/// </summary>
		public string DictionaryCode { get; set; }

		[JsonIgnore]
		[ForeignKey("DependParentId")]
		public ReadingTableQuestionTrial DependParentQuestion { get; set; }

	}

	  
}	 
