260716_01_ENH: 본 서버에서 기동 후 중간 테스트를 위한 커밋
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.kri.contact.server.dto.reserve;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
import com.kri.contact.server.persistence.entity.TListResveEntity;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Builder;
|
||||
@@ -7,16 +9,26 @@ import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
@Builder
|
||||
@Schema(description = "ListReserveDto")
|
||||
public class ListReserveDto {
|
||||
|
||||
@Schema(description = "listResveIdx")
|
||||
private Long listResveIdx;
|
||||
@Schema(description = "prjctIdx")
|
||||
private Long prjctIdx;
|
||||
@Schema(description = "sid")
|
||||
private Integer sid;
|
||||
@Schema(description = "memo")
|
||||
private String memo;
|
||||
@Schema(description = "cnfirm")
|
||||
private Boolean cnfirm;
|
||||
@Schema(description = "resveDt")
|
||||
private LocalDateTime resveDt;
|
||||
@Schema(description = "resveUser")
|
||||
private String resveUser;
|
||||
@Schema(description = "regUser")
|
||||
private String regUser;
|
||||
@Schema(description = "regDt")
|
||||
private LocalDateTime regDt;
|
||||
|
||||
public static ListReserveDto from(TListResveEntity entity) {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.kri.contact.server.dto.reserve;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import java.time.LocalDateTime;
|
||||
@@ -10,17 +12,22 @@ import lombok.Setter;
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@Schema(description = "ListReserveRequestDto")
|
||||
public class ListReserveRequestDto {
|
||||
|
||||
@NotNull
|
||||
@Schema(description = "prjctIdx")
|
||||
private Long prjctIdx;
|
||||
|
||||
@NotNull
|
||||
@Schema(description = "sid")
|
||||
private Integer sid;
|
||||
|
||||
@NotBlank
|
||||
@Schema(description = "userId")
|
||||
private String userId;
|
||||
|
||||
@NotNull
|
||||
@Schema(description = "resveDt")
|
||||
private LocalDateTime resveDt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user