
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2022-02-25 14:21:48 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
	 ///<summary>
	 ///TrialStateChange
	 ///</summary>
	 [Table("TrialStateChange")]	
	 public class TrialStateChange : Entity, IAuditAdd
	 {
		[JsonIgnore]
		[ForeignKey("TrialId")]
		public Trial Trial { get; set; }
	 			
		public Guid TrialId { get; set; }
	
	
		public string OriginState { get; set; } = String.Empty;

	
		public string NowState { get; set; } = String.Empty;

	
		public string Reason { get; set; }=String.Empty;
	
	
		public DateTime CreateTime { get; set; }
	
     
		public Guid CreateUserId { get; set; }

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

}	 
