diff --git a/src/main/java/cokr/xit/ens/core/model/EnsAcceptReqDTO.java b/src/main/java/cokr/xit/ens/core/model/EnsAcceptReqDTO.java index ed7edbb..fb48c52 100644 --- a/src/main/java/cokr/xit/ens/core/model/EnsAcceptReqDTO.java +++ b/src/main/java/cokr/xit/ens/core/model/EnsAcceptReqDTO.java @@ -1,17 +1,20 @@ package cokr.xit.ens.core.model; +import javax.validation.constraints.NotEmpty; + +import org.hibernate.validator.constraints.Length; + import io.swagger.v3.oas.annotations.media.Schema; +import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.experimental.SuperBuilder; -import org.hibernate.validator.constraints.Length; - -import javax.validation.constraints.NotEmpty; @SuperBuilder @Getter @Schema(name = "EnsAcceptReqDTO") @NoArgsConstructor +@AllArgsConstructor public class EnsAcceptReqDTO { @Length(max = 30, message = "중개사업자의 최대 길이를 초과 했습니다.") diff --git a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/KkoMydocAcceptReqDTO.java b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/KkoMydocAcceptReqDTO.java index 6bd272a..333e1d5 100644 --- a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/KkoMydocAcceptReqDTO.java +++ b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/KkoMydocAcceptReqDTO.java @@ -1,20 +1,23 @@ package cokr.xit.ens.modules.kkomydoc.model; +import java.util.List; + +import javax.validation.Valid; +import javax.validation.constraints.NotEmpty; + import cokr.xit.ens.core.model.EnsAcceptReqDTO; import cokr.xit.ens.modules.kkomydoc.model.config.Document; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.SuperBuilder; -import javax.validation.Valid; -import javax.validation.constraints.NotEmpty; -import java.util.List; - @SuperBuilder @Data @Schema(name = "KkoMydocAcceptReqDTO") @NoArgsConstructor +@AllArgsConstructor public class KkoMydocAcceptReqDTO extends EnsAcceptReqDTO { @Valid diff --git a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/DocumentConfKkoMd.java b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/DocumentConfKkoMd.java index 68b318c..227e931 100644 --- a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/DocumentConfKkoMd.java +++ b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/DocumentConfKkoMd.java @@ -1,23 +1,27 @@ package cokr.xit.ens.modules.kkomydoc.model.config; +import java.util.List; +import java.util.Map; + +import javax.validation.Valid; +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +import org.hibernate.validator.constraints.Length; + import io.swagger.v3.oas.annotations.media.Schema; +import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.ToString; import lombok.experimental.SuperBuilder; -import org.hibernate.validator.constraints.Length; - -import javax.validation.Valid; -import javax.validation.constraints.NotEmpty; -import javax.validation.constraints.NotNull; -import java.util.List; -import java.util.Map; @Getter @ToString @SuperBuilder @Schema(name = "DocumentConfKKoMd") @NoArgsConstructor +@AllArgsConstructor public class DocumentConfKkoMd { @Length(max = 99, message = "hash값의 최대 길이를 초과 했습니다.") diff --git a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/KkoMydocStat.java b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/KkoMydocStat.java index 572c7fe..17d5551 100644 --- a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/KkoMydocStat.java +++ b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/KkoMydocStat.java @@ -1,20 +1,25 @@ package cokr.xit.ens.modules.kkomydoc.model.config; -import cokr.xit.ens.modules.kkomydoc.code.KkoMydocStatusCd; +import javax.persistence.EnumType; +import javax.persistence.Enumerated; + import com.fasterxml.jackson.annotation.JsonIgnore; import com.google.gson.annotations.Expose; + +import cokr.xit.ens.modules.kkomydoc.code.KkoMydocStatusCd; import io.swagger.v3.oas.annotations.media.Schema; +import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; +import lombok.NoArgsConstructor; import lombok.ToString; -import javax.persistence.EnumType; -import javax.persistence.Enumerated; - @Getter @ToString @Builder @Schema(name = "KkoMydocStat") +@NoArgsConstructor +@AllArgsConstructor public class KkoMydocStat { @Expose diff --git a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/Property.java b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/Property.java index 78101a8..518eac5 100644 --- a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/Property.java +++ b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/Property.java @@ -1,15 +1,20 @@ package cokr.xit.ens.modules.kkomydoc.model.config; +import org.hibernate.validator.constraints.Length; + import io.swagger.v3.oas.annotations.media.Schema; +import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; +import lombok.NoArgsConstructor; import lombok.ToString; -import org.hibernate.validator.constraints.Length; @Getter @ToString @Builder @Schema(name = "Property") +@NoArgsConstructor +@AllArgsConstructor public class Property { @Length(max = 100, message = "웹페이지주소의 최대 길이를 초과 했습니다.") diff --git a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/Receiver.java b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/Receiver.java index 5ab93b3..7204b7b 100644 --- a/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/Receiver.java +++ b/src/main/java/cokr/xit/ens/modules/kkomydoc/model/config/Receiver.java @@ -1,15 +1,20 @@ package cokr.xit.ens.modules.kkomydoc.model.config; +import org.hibernate.validator.constraints.Length; + import io.swagger.v3.oas.annotations.media.Schema; +import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; +import lombok.NoArgsConstructor; import lombok.ToString; -import org.hibernate.validator.constraints.Length; @Getter @ToString @Builder @Schema(name = "Receiver") +@NoArgsConstructor +@AllArgsConstructor public class Receiver { @Length(max = 88, message = "ci의 최대 길이를 초과 했습니다.")