
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2023-06-26 11:39:53 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
	 ///<summary>
	 ///ClinicalForm
	 ///</summary>
	 [Table("ClinicalForm")]	
	 public class ClinicalForm : Entity, IAuditAdd
	 {
	
		/// <summary>
        /// 受试者Id
        /// </summary>
		public Guid SubjectId { get; set; }


		public Guid TrialId { get; set; }

		/// <summary>
		/// 检查日期
		/// </summary>
		public DateTime? CheckDate { get; set; }
	
		/// <summary>
        /// 创建日期
        /// </summary>
		public DateTime CreateTime { get; set; }
	
		/// <summary>
        /// 创建人
        /// </summary>
		public Guid CreateUserId { get; set; }
	
		/// <summary>
        /// ClinicalDataTrialSetId
        /// </summary>
		public Guid ClinicalDataTrialSetId { get; set; }

        /// <summary>
        /// VisitId
        /// </summary>
        public Guid? ReadingId { get; set; }


		[JsonIgnore]
		[ForeignKey("ClinicalDataTrialSetId")]
		public ClinicalDataTrialSet ClinicalDataTrialSet { get; set; }

        [JsonIgnore]
        [ForeignKey("SubjectId")]
        public Subject Subject { get; set; }

    }

}	 
