97 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			97 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			C#
		
	
	
| 
 | |
| //--------------------------------------------------------------------
 | |
| //     此代码由T4模板自动生成  byzhouhang 20210918
 | |
| //	   生成时间 2022-01-05 09:11:50 
 | |
| //     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.ComponentModel.DataAnnotations;
 | |
| using System.ComponentModel.DataAnnotations.Schema;
 | |
| namespace IRaCIS.Core.Domain.Models
 | |
| {
 | |
| 	 ///<summary>
 | |
| 	 ///TrialDocument
 | |
| 	 ///</summary>
 | |
| 	 [Table("TrialDocument")]	
 | |
| 	 public class TrialDocument : Entity, IAuditUpdate, IAuditAdd
 | |
| 	 {
 | |
| 
 | |
|         //需要确认的项目用户 通过TrialId 关联 用中间表过滤
 | |
| 
 | |
| 
 | |
|         public List<TrialDocUserTypeConfirmedUser> TrialDocConfirmedUserList { get; set; }
 | |
| 
 | |
| 		public  List<TrialDocNeedConfirmedUserType> NeedConfirmedUserTypeList { get; set; }
 | |
| 
 | |
| 		public Trial Trial { get; set; }
 | |
| 
 | |
| 		[ForeignKey("FileTypeId")]
 | |
| 		public Dictionary FileType { get; set; }
 | |
| 
 | |
| 
 | |
| 
 | |
| 		public Guid FileTypeId { get; set; } 
 | |
| 
 | |
| 
 | |
| 
 | |
| 		/// <summary>
 | |
| 		/// Name
 | |
| 		/// </summary>
 | |
| 		[Required]
 | |
| 		public string Name { get; set; } = string.Empty;
 | |
| 
 | |
| 		/// <summary>
 | |
| 		/// Path
 | |
| 		/// </summary>
 | |
| 		[Required]
 | |
| 		public string Path { get; set; } = string.Empty;
 | |
| 
 | |
| 		/// <summary>
 | |
| 		/// TrialId
 | |
| 		/// </summary>
 | |
| 		[Required]
 | |
| 		public Guid TrialId { get; set; }
 | |
| 
 | |
| 		/// <summary>
 | |
| 		/// Description
 | |
| 		/// </summary>
 | |
| 		[Required]
 | |
| 		public string Description { get; set; } = string.Empty;
 | |
| 
 | |
| 
 | |
| 
 | |
| 		public int SignViewMinimumMinutes { get; set; }
 | |
| 
 | |
| 		/// <summary>
 | |
| 		/// CreateTime
 | |
| 		/// </summary>
 | |
| 		[Required]
 | |
| 		public DateTime CreateTime { get; set; }
 | |
| 	
 | |
| 		/// <summary>
 | |
|         /// CreateUserId
 | |
|         /// </summary>
 | |
| 		[Required]
 | |
| 		public Guid CreateUserId { get; set; }
 | |
| 	
 | |
| 		/// <summary>
 | |
|         /// UpdateTime
 | |
|         /// </summary>
 | |
| 		[Required]
 | |
| 		public DateTime UpdateTime { get; set; }
 | |
| 	
 | |
| 		/// <summary>
 | |
|         /// UpdateUserId
 | |
|         /// </summary>
 | |
| 		[Required]
 | |
| 		public Guid UpdateUserId { get; set; }
 | |
| 
 | |
|         public DateTime? DeletedTime { get; set; }
 | |
| 
 | |
| 
 | |
| 		public bool IsDeleted { get; set; }
 | |
| 
 | |
| 	}
 | |
| 
 | |
| }	 
 |