
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2021-12-23 15:37:48 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
	 ///<summary>
	 ///VisitPlanInfluenceStudystat
	 ///</summary>
	 [Table("VisitPlanInfluenceStat")]	
	 public class VisitPlanInfluenceStat : Entity, IAuditAdd
	 {
		[JsonIgnore]
		public List<VisitPlanInfluenceStudy>  InfluenceStudyList { get; set; }=new List<VisitPlanInfluenceStudy>();

		public Guid TrialId { get; set; }

		/// <summary>
		/// CreateTime
		/// </summary>
		[Required]
		public DateTime CreateTime { get; set; }
	
		/// <summary>
        /// CreateUserId
        /// </summary>
		[Required]
		public Guid CreateUserId { get; set; }
	
		/// <summary>
        /// InfluenceCount
        /// </summary>
		[Required]
		public int InconsistentCount { get; set; }

		[JsonIgnore]
		[ForeignKey("CreateUserId")]
		public User CreateUser { get; set; }

	}

}	 
