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

		/// <summary>
        /// 文件名称
        /// </summary>
		public string FileName { get; set; }
	
		/// <summary>
        /// 文件路径
        /// </summary>
		public string FilePath { get; set; }
	
		/// <summary>
        /// 标准类型
        /// </summary>
		public CriterionType CriterionType { get; set; }
	
		/// <summary>
        /// 医生Id
        /// </summary>
		public Guid DoctorId { get; set; }
	
		/// <summary>
        /// 备注
        /// </summary>
		public string Remark { get; set; }
	
		/// <summary>
        /// 文件类型
        /// </summary>
		public CriterionFileType FileType { get; set; }
	
		/// <summary>
        /// CreateUserId
        /// </summary>
		public Guid CreateUserId { get; set; }
	
		/// <summary>
        /// CreateTime
        /// </summary>
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 是否启用
		/// </summary>
		public bool IsEnable { get; set; } = true;

		[JsonIgnore]
		[ForeignKey("DoctorId")]
		public Doctor Doctor { get; set; }

		public string CriterionName { get; set; }
		public Guid? TrialReadingCriterionId { get; set; }
		public Guid? TrialId { get; set; }


	}

	 
}	 
