From f13ecb5972a19c89cb4ac6c41f43811ae3545562 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 9 May 2022 12:01:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=8F=E8=BF=B0=E9=95=BF?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Document/DTO/SystemDocumentViewModel.cs | 1 + .../Service/Document/DTO/TrialDocumentViewModel.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs index 2b63a668b..305ea5e7d 100644 --- a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs +++ b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs @@ -107,6 +107,7 @@ namespace IRaCIS.Core.Application.Contracts public Guid? FileTypeId { get; set; } + public string Name { get; set; } = string.Empty; public bool? IsSign { get; set; } diff --git a/IRaCIS.Core.Application/Service/Document/DTO/TrialDocumentViewModel.cs b/IRaCIS.Core.Application/Service/Document/DTO/TrialDocumentViewModel.cs index f1aa90467..be5b6371d 100644 --- a/IRaCIS.Core.Application/Service/Document/DTO/TrialDocumentViewModel.cs +++ b/IRaCIS.Core.Application/Service/Document/DTO/TrialDocumentViewModel.cs @@ -53,6 +53,7 @@ namespace IRaCIS.Core.Application.Contracts public string Name { get; set; } = String.Empty; public string Path { get; set; } = String.Empty; + [MaxLength(250)] public string Description { get; set; } = String.Empty; public bool IsDeleted { get; set; }