96 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			96 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			C#
		
	
	
//--------------------------------------------------------------------
 | 
						|
//     此代码由T4模板自动生成  byzhouhang 20210918
 | 
						|
//	   生成时间 2022-01-05 09:17:10 
 | 
						|
//     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
 | 
						|
//--------------------------------------------------------------------
 | 
						|
 | 
						|
using System.ComponentModel.DataAnnotations;
 | 
						|
 | 
						|
namespace IRaCIS.Core.Application.Contracts
 | 
						|
{
 | 
						|
    /// <summary> TrialDocumentView  列表视图模型 </summary>
 | 
						|
    public class TrialDocumentView : TrialDocumentAddOrEdit
 | 
						|
    {
 | 
						|
        public string FullFilePath { get; set; } = String.Empty;
 | 
						|
 | 
						|
        public int AttachmentCount { get; set; }
 | 
						|
        public bool IsSomeUserSigned { get; set; }
 | 
						|
 | 
						|
        public DateTime CreateTime { get; set; }
 | 
						|
        public Guid CreateUserId { get; set; }
 | 
						|
        public DateTime UpdateTime { get; set; }
 | 
						|
        public Guid UpdateUserId { get; set; }
 | 
						|
 | 
						|
        public string FileType { get; set; } = string.Empty;
 | 
						|
 | 
						|
        public List<NeedConfirmedUserTypeView> NeedConfirmedUserTypeList { get; set; } = new List<NeedConfirmedUserTypeView>();
 | 
						|
 | 
						|
 | 
						|
    }
 | 
						|
 | 
						|
 | 
						|
 | 
						|
    ///<summary>TrialDocumentQuery  列表查询参数模型</summary>
 | 
						|
    public class TrialDocumentQuery : PageInput
 | 
						|
    {
 | 
						|
        public bool? IsDeleted { get; set; }
 | 
						|
        public Guid? FileTypeId { get; set; }
 | 
						|
 | 
						|
        public Guid? UserTypeId { get; set; }
 | 
						|
 | 
						|
        public string Name { get; set; } = String.Empty;
 | 
						|
 | 
						|
        [NotDefault]
 | 
						|
        public Guid TrialId { get; set; }
 | 
						|
 | 
						|
    }
 | 
						|
 | 
						|
    ///<summary> TrialDocumentAddOrEdit  列表查询参数模型</summary>
 | 
						|
    public class TrialDocumentAddOrEdit
 | 
						|
    {
 | 
						|
        public Guid? Id { get; set; }
 | 
						|
        public Guid TrialId { get; set; }
 | 
						|
 | 
						|
        public Guid FileTypeId { get; set; }
 | 
						|
        public string Name { get; set; } = String.Empty;
 | 
						|
        public string Path { get; set; } = String.Empty;
 | 
						|
 | 
						|
        [MaxLength(500)]
 | 
						|
        public string Description { get; set; } = String.Empty;
 | 
						|
        public bool IsDeleted { get; set; }
 | 
						|
 | 
						|
        public int SignViewMinimumMinutes { get; set; }
 | 
						|
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 现有员工培训天数
 | 
						|
        /// </summary>
 | 
						|
        public int? CurrentStaffTrainDays { get; set; }
 | 
						|
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 新员工培训天数
 | 
						|
        /// </summary>
 | 
						|
        public int? NewStaffTrainDays { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 是否发布
 | 
						|
        /// </summary>
 | 
						|
 | 
						|
        public bool IsPublish { get; set; } = true;
 | 
						|
 | 
						|
    }
 | 
						|
 | 
						|
    public class AddOrEditTrialDocument : TrialDocumentAddOrEdit
 | 
						|
    {
 | 
						|
 | 
						|
        public List<Guid> NeedConfirmedUserTypeIdList { get; set; } = new List<Guid>();
 | 
						|
    }
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
 |