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

		[ForeignKey("TaskId")]
		[JsonIgnore]
		public VisitTask VisitTask { get; set; }
		/// <summary>
        /// 任务ID
        /// </summary>
		public Guid TaskId { get; set; }
	
		/// <summary>
        /// 关联的任务ID
        /// </summary>
		public Guid RelevanceTaskId { get; set; }

		/// <summary>
		/// 类型具体解释 看枚举
		/// </summary>
		public RelevanceType RelevanceType { get; set; }
	
		/// <summary>
        /// CreateTime
        /// </summary>
		public DateTime CreateTime { get; set; }
	
		/// <summary>
        /// CreateUserId
        /// </summary>
		public Guid CreateUserId { get; set; }


	 
	 }

	
}	 
