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

		/// <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; }
	
		/// <summary>
        /// AllocateTime
        /// </summary>
		public DateTime? AllocateTime { get; set; }
	
		/// <summary>
        /// AuditState
        /// </summary>
		[Required]
		public int AuditState { get; set; }
	
		/// <summary>
        /// AuditSuggestion
        /// </summary>
		[Required]
		public string AuditSuggestion { get; set; }=String.Empty;
	
		/// <summary>
        /// AuditSignTime
        /// </summary>
		public DateTime? AuditSignTime { get; set; }
	
		/// <summary>
        /// DoctorUserIdeaEnum
        /// </summary>
		public int DoctorUserIdeaEnum { get; set; }
	
		/// <summary>
        /// MedicalManagerUserId
        /// </summary>
		public Guid? MedicalManagerUserId { get; set; }

		public User MedicalManagerUser { get; set; }

		public Guid VisitTaskId { get; set; }

        [ForeignKey("VisitTaskId")]
		public VisitTask  VisitTask { get; set; }

		public Guid TrialId { get; set; }

		public Guid DoctorUserId { get; set; }


		public TaskMedicalReviewRule TaskMedicalReviewRule { get; set; }



	}

}	 
