From 2f1f266ea30974b9e99db0be554434019ab33517 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Sat, 12 Oct 2024 10:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/WorkLoad/DTO/EnrollViewModel.cs | 6 +----- IRaCIS.Core.Test/CodeFirstTest/MSSQL/TrialImageDownload.cs | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/IRaCIS.Core.Application/Service/WorkLoad/DTO/EnrollViewModel.cs b/IRaCIS.Core.Application/Service/WorkLoad/DTO/EnrollViewModel.cs index 47d75931a..f89a47307 100644 --- a/IRaCIS.Core.Application/Service/WorkLoad/DTO/EnrollViewModel.cs +++ b/IRaCIS.Core.Application/Service/WorkLoad/DTO/EnrollViewModel.cs @@ -4,15 +4,11 @@ namespace IRaCIS.Core.Application.Service.WorkLoad.DTO { public class EnrollViewModel { - [StringLength(50)] + public string ChineseName { get; set; } = string.Empty; - - [StringLength(100)] public string FirstName { get; set; } = string.Empty; - - [StringLength(100)] public string LastName { get; set; } = string.Empty; public decimal? AdjustmentMultiple { get; set; } = 0; diff --git a/IRaCIS.Core.Test/CodeFirstTest/MSSQL/TrialImageDownload.cs b/IRaCIS.Core.Test/CodeFirstTest/MSSQL/TrialImageDownload.cs index 071f367ce..c42a80c7c 100644 --- a/IRaCIS.Core.Test/CodeFirstTest/MSSQL/TrialImageDownload.cs +++ b/IRaCIS.Core.Test/CodeFirstTest/MSSQL/TrialImageDownload.cs @@ -49,7 +49,6 @@ namespace IRaCIS.Core.Test.CodeFirstTest.MSSQL { public Guid TrialImageDownloadId { get; set; } - [StringLength(100)] public string TestName { get; set; } } @@ -137,7 +136,6 @@ namespace IRaCIS.Core.Test.CodeFirstTest.MSSQL { public string DefaultLength { get; set; } - [MaxLength(300)] public string UserDefineLength { get; set; } public string UserDefineText { get; set; }