Explorar o código

facility management validation remove

shjung %!s(int64=3) %!d(string=hai) anos
pai
achega
31ebd2f2c3

+ 19 - 20
src/main/java/com/its/api/its/model/dto/facility/TbFcltInfrDto.java

@@ -8,7 +8,6 @@ import io.swagger.annotations.ApiModelProperty;
 import lombok.*;
 
 import javax.validation.constraints.Pattern;
-import javax.validation.constraints.Positive;
 import javax.validation.constraints.Size;
 import java.io.Serializable;
 
@@ -150,83 +149,83 @@ public class TbFcltInfrDto implements Serializable {
 
         @ApiModelProperty("설치 위치 주소, Nullable = Y, VARCHAR(200)")  // Y VARCHAR(200)
         @JsonProperty("istl_lctn_addr")
-        @Size(min=1, max=200)
+        //@Size(min=1, max=200)
         private String istlLctnAddr;
 
         @ApiModelProperty("자산 유무, Nullable = Y, CHAR(1)")  // Y CHAR(1)
         @JsonProperty("rsce_yn")
-        @Size(min=1, max=1)
+        //@Size(min=1, max=1)
         @Pattern(regexp = "[YN]")
         private String rsceYn;
 
         @ApiModelProperty("모델 명, Nullable = Y, VARCHAR(30)")  // Y VARCHAR(30)
         @JsonProperty("mdl_nm")
-        @Size(min=1, max=30)
+        //@Size(min=1, max=30)
         private String mdlNm;
 
         @ApiModelProperty("사용 년수, Nullable = Y, NUMBER(3)")  // Y NUMBER(3)
         @JsonProperty("use_year")
-        @Positive
+        //@Positive
         private Integer useYear;
 
         @ApiModelProperty("입고 일시, Nullable = Y, VARCHAR(14)")  // Y VARCHAR(14)
         @JsonProperty("inwr_dt")
-        @Size(min=1, max=14)
+        //@Size(min=1, max=14)
         private String inwrDt;
 
         @ApiModelProperty("출고 일시, Nullable = Y, VARCHAR(14)")  // Y VARCHAR(14)
         @JsonProperty("otwr_dt")
-        @Size(min=1, max=14)
+        //@Size(min=1, max=14)
         private String otwrDt;
 
         @ApiModelProperty("설치 일시, Nullable = Y, VARCHAR(14)")  // Y VARCHAR(14)
         @JsonProperty("istl_dt")
-        @Size(min=1, max=14)
+        //@Size(min=1, max=14)
         private String istlDt;
 
         @ApiModelProperty("반출 일시, Nullable = Y, VARCHAR(14)")  // Y VARCHAR(14)
         @JsonProperty("takt_dt")
-        @Size(min=1, max=14)
+        //@Size(min=1, max=14)
         private String taktDt;
 
         @ApiModelProperty("반출 사유, Nullable = Y, VARCHAR(100)")  // Y VARCHAR(100)
         @JsonProperty("takt_resn")
-        @Size(min=1, max=100)
+        //@Size(min=1, max=100)
         private String taktResn;
 
         @ApiModelProperty("반입 일시, Nullable = Y, VARCHAR(14)")  // Y VARCHAR(14)
         @JsonProperty("takn_dt")
-        @Size(min=1, max=14)
+        //@Size(min=1, max=14)
         private String taknDt;
 
         @ApiModelProperty("폐기 일시, Nullable = Y, VARCHAR(14)")  // Y VARCHAR(14)
         @JsonProperty("abdn_dt")
-        @Size(min=1, max=14)
+        //@Size(min=1, max=14)
         private String abdnDt;
 
         @ApiModelProperty("추가자 명, Nullable = Y, VARCHAR(30)")  // Y VARCHAR(30)
         @JsonProperty("adtn_nm")
-        @Size(min=1, max=30)
+        //@Size(min=1, max=30)
         private String adtnNm;
 
         @ApiModelProperty("추가 일시, Nullable = Y, VARCHAR(14)")  // Y VARCHAR(14)
         @JsonProperty("adtn_dt")
-        @Size(min=1, max=14)
+        //@Size(min=1, max=14)
         private String adtnDt;
 
         @ApiModelProperty("변경자 명, Nullable = Y, VARCHAR(30)")  // Y VARCHAR(30)
         @JsonProperty("chng_nm")
-        @Size(min=1, max=30)
+        //@Size(min=1, max=30)
         private String chngNm;
 
         @ApiModelProperty("변경 일시, Nullable = Y, VARCHAR(14)")  // Y VARCHAR(14)
         @JsonProperty("chng_dt")
-        @Size(min=1, max=14)
+        //@Size(min=1, max=14)
         private String chngDt;
 
         @ApiModelProperty("금액, Nullable = Y, NUMBER(15)")  // Y NUMBER(15)
         @JsonProperty("amt")
-        @Positive
+        //@Positive
         private Long amt;
 
         @ApiModelProperty("삭제 여부, Nullable = Y, CHAR(1)")  // Y CHAR(1)
@@ -237,17 +236,17 @@ public class TbFcltInfrDto implements Serializable {
 
         @ApiModelProperty("설치 업체 ID, Nullable = Y, VARCHAR(30)")  // Y VARCHAR(30)
         @JsonProperty("istl_cmpy_id")
-        @Size(min=1, max=30)
+        //@Size(min=1, max=30)
         private String istlCmpyId;
 
         @ApiModelProperty("제조 업체 ID, Nullable = Y, VARCHAR(30)")  // Y VARCHAR(30)
         @JsonProperty("mnfc_cmpy_id")
-        @Size(min=1, max=30)
+        //@Size(min=1, max=30)
         private String mnfcCmpyId;
 
         @ApiModelProperty("RFID ID, Nullable = Y, VARCHAR(30)")  // Y VARCHAR(30)
         @JsonProperty("rfid_id")
-        @Size(min=1, max=30)
+        //@Size(min=1, max=30)
         private String rfidId;
 
         @Builder