배치 리스트 DTO 커밋

This commit is contained in:
Leeminha
2022-10-26 09:35:53 +09:00
parent a6201ffd11
commit 09acabd980
5 changed files with 275 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
package kr.co.uplus.ez.api.comm.dto;
import java.util.List;
import lombok.Data;
/**
* 배치 모니터링 DTO
* @author Lee Minha
*/
@Data
public class BatchChkDto {
//일련번호
private String seqNo;
//등록 일시
private String regDt;
//배치 아이디
private String batchId;
//상태코드
private String sttusCd;
//시작 일시
private String stDt;
//종료 일시
private String fnsDt;
//오류 메시지
private String errMsg;
//등록 ID
private String regId;
//변경 ID
private String chgId;
//변경 일시
private String chgDt;
//배치 유형
private String batchType;
//배치 주기
private String batchCycle;
//검색 시작 일자
private String searchSt;
//검색 종료 일자
private String searchFns;
private Object batchList;
}

View File

@@ -0,0 +1,66 @@
package kr.co.uplus.ez.api.sysMgt.dto;
import java.util.List;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* 배치 모니터링 DTO
* @author Lee Minha
*/
@Data
public class BatchList {
@ApiModelProperty(example = "리스트번호", name = "리스트번호", dataType = "Integer")
private Integer no;
//일련번호
private String seqNo;
//등록 일시
private String regDt;
//배치 아이디
private String batchId;
private String batchNm;
//상태코드
private String sttusCd;
//시작 일시
private String stDt;
//종료 일시
private String fnsDt;
//오류 메시지
private String errMsg;
//등록 ID
private String regId;
//변경 ID
private String chgId;
//변경 일시
private String chgDt;
//배치 유형
private String batchType;
//배치 주기
private String batchCycle;
//검색 시작 일자
private String searchSt;
//검색 종료 일자
private String searchFns;
private Object batchList;
private String batchTime;
}

View File

@@ -0,0 +1,15 @@
package kr.co.uplus.ez.api.sysMgt.dto;
import java.io.Serializable;
import java.util.List;
import kr.co.uplus.ez.common.data.Paging;
import lombok.Data;
@SuppressWarnings("serial")
@Data
public class BatchListRes implements Serializable{
private Paging paging;
private List<BatchList> list;
}

View File

@@ -0,0 +1,30 @@
package kr.co.uplus.ez.api.sysMgt.dto;
import java.io.Serializable;
import kr.co.uplus.ez.common.data.ApiResponseCode;
import kr.co.uplus.ez.common.data.ResponseMessage;
import lombok.Data;
@SuppressWarnings("serial")
@Data
public class BatchListResDto extends ResponseMessage implements Serializable{
private BatchListRes data;
public BatchListResDto() {
this.retCode = ApiResponseCode.SUCCESS.getResultCode();
this.retMsg = ApiResponseCode.SUCCESS.getResultMsg();
}
public BatchListResDto(ApiResponseCode returnStr) {
this.retCode = returnStr.getResultCode();
this.retMsg = returnStr.getResultMsg();
}
public BatchListResDto(ApiResponseCode returnStr, BatchListRes data) {
this.retCode = returnStr.getResultCode();
this.retMsg = returnStr.getResultMsg();
this.data = data;
}
}