This commit is contained in:
he
2025-02-25 11:12:42 +08:00
parent b8c0bd7082
commit 172cecebe4
3 changed files with 37 additions and 9 deletions
@@ -8,6 +8,8 @@ using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
namespace IRaCIS.Core.Application.ViewModel;
public class TrialFinalRecordView : TrialFinalRecordAddOrEdit
@@ -47,22 +49,39 @@ public class TrialFinalRecordAddOrEdit
/// <summary>
/// 定稿PDF
/// </summary>
public TrialFile PDFFileRecord { get; set; }
public TrialFileDto PDFFileRecord { get; set; }
/// <summary>
/// 定稿Word
/// </summary>
public TrialFile WordFileRecord { get; set; }
public TrialFileDto WordFileRecord { get; set; }
/// <summary>
/// 签名页
/// </summary>
public TrialFile SignFileRecord { get; set; }
public TrialFileDto SignFileRecord { get; set; }
/// <summary>
/// 历史记录
/// </summary>
public TrialFile HistoryFileRecord { get; set; }
public TrialFileDto HistoryFileRecord { get; set; }
}
public class TrialFileDto
{
public Guid TrialFileTypeId { get; set; }
public string FileName { get; set; }
public string FilePath { get; set; }
public string FileSize { get; set; }
public string FileFormat { get; set; }
}
public class TrialFinalRecordQuery : PageInput
@@ -73,10 +92,8 @@ public class TrialFinalRecordQuery : PageInput
public string? Name { get; set; }
public int? State { get; set; }
public Guid? TrialFileTypeId { get; set; }
[NotDefault]
public Guid TrialFileTypeId { get; set; }
public Guid? TrialId { get; set; }