From 3822cd272ab8bd8311e9f9657487542b1a12268d Mon Sep 17 00:00:00 2001 From: Marvin Date: Tue, 14 Feb 2023 17:28:39 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E4=B8=8D=E8=89=AF=E7=BE=A4?= =?UTF-8?q?=E7=BB=84=E4=BB=A3=E7=A0=81=EF=BC=8C=E4=B8=8D=E8=89=AF=E7=B1=BB?= =?UTF-8?q?=E5=88=AB=E4=BB=A3=E7=A0=81=EF=BC=8C=E4=B8=8D=E8=89=AF=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=9A=84=E9=95=BF=E5=BA=A620?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.WebApi/Models/AMES/NGClass.cs | 4 ++-- AMESCoreStudio.WebApi/Models/AMES/NGGroup.cs | 2 +- AMESCoreStudio.WebApi/Models/AMES/NGReason.cs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AMESCoreStudio.WebApi/Models/AMES/NGClass.cs b/AMESCoreStudio.WebApi/Models/AMES/NGClass.cs index 01661803..31051f49 100644 --- a/AMESCoreStudio.WebApi/Models/AMES/NGClass.cs +++ b/AMESCoreStudio.WebApi/Models/AMES/NGClass.cs @@ -19,7 +19,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES [Column("NG_CLASS_NO")] [Required(ErrorMessage = "{0},不能空白")] [Display(Name = "不良類別代碼")] - [StringLength(6, ErrorMessage = "{0},不能大于{1}")] + [StringLength(20, ErrorMessage = "{0},不能大于{1}")] [DataMember] public string NGClassNo { get; set; } @@ -30,7 +30,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES [Column("NG_GROUP_NO")] [Required(ErrorMessage = "{0},不能空白")] [Display(Name = "不良群組代碼")] - [StringLength(6, ErrorMessage = "{0},不能大于{1}")] + [StringLength(20, ErrorMessage = "{0},不能大于{1}")] [DataMember] public string NGGroupNo { get; set; } diff --git a/AMESCoreStudio.WebApi/Models/AMES/NGGroup.cs b/AMESCoreStudio.WebApi/Models/AMES/NGGroup.cs index 078fef0d..7a82e7ca 100644 --- a/AMESCoreStudio.WebApi/Models/AMES/NGGroup.cs +++ b/AMESCoreStudio.WebApi/Models/AMES/NGGroup.cs @@ -19,7 +19,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES [Column("NG_GROUP_NO")] [Required(ErrorMessage = "{0},不能空白")] [Display(Name = "不良群组代碼")] - [StringLength(10, ErrorMessage = "{0},不能大于{1}")] + [StringLength(20, ErrorMessage = "{0},不能大于{1}")] [DataMember] public string NGGroupNo { get; set; } diff --git a/AMESCoreStudio.WebApi/Models/AMES/NGReason.cs b/AMESCoreStudio.WebApi/Models/AMES/NGReason.cs index 02a30971..311f0bd2 100644 --- a/AMESCoreStudio.WebApi/Models/AMES/NGReason.cs +++ b/AMESCoreStudio.WebApi/Models/AMES/NGReason.cs @@ -19,7 +19,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES [Column("NG_REASON_NO")] [Required(ErrorMessage = "{0},不能空白")] [Display(Name = "不良原因代碼")] - [StringLength(6, ErrorMessage = "{0},不能大于{1}")] + [StringLength(20, ErrorMessage = "{0},不能大于{1}")] [DataMember] public string NGReasonNo { get; set; } @@ -29,7 +29,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES [Column("NG_CLASS_NO")] [Required(ErrorMessage = "{0},不能空白")] [Display(Name = "不良類別代碼")] - [StringLength(6, ErrorMessage = "{0},不能大于{1}")] + [StringLength(20, ErrorMessage = "{0},不能大于{1}")] [DataMember] public string NGClassNo { get; set; }