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

		/// <summary>
        /// TrialClinicalDataSetId
        /// </summary>
		[Required]
		public Guid TrialClinicalDataSetId { get; set; }
	
		/// <summary>
        /// TrialReadingCriterionId
        /// </summary>
		[Required]
		public Guid TrialReadingCriterionId { 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; }


        [ForeignKey("TrialClinicalDataSetId")]
		public ClinicalDataTrialSet TrialClinicalDataSet { get; set; }

		[ForeignKey("TrialReadingCriterionId")]
		public ReadingQuestionCriterionTrial TrialReadingCriterion { get; set; }

	}

}	 
