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

		//public TrialUser TrialUser { get; set; }
		[JsonIgnore]
		public TrialDocument TrialDocument { get; set; }


		/// <summary>
		/// TrialDocumentId
		/// </summary>
		[Required]
		public Guid TrialDocumentId { get; set; }

		/// <summary>
        /// ConfirmTime
        /// </summary>
		public DateTime? ConfirmTime { get; set; }
	
		/// <summary>
        /// ConfirmUserId
        /// </summary>
		[Required]
		public Guid ConfirmUserId { get; set; }

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


		public DateTime? SignFirstViewTime { get; set; }


		public string SignText { get; set; } = string.Empty;

		public Guid CreateUserId { get; set; }

		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 是否废除
		/// </summary>
		public bool IsDeleted { get; set; }

		public DateTime? DeletedTime { get; set; }

		public Guid? DeleteUserId { get; set; }

	}

	
}	 
