package cokr.xit.ens.modules.ktsigntalk.direct.model;

import cokr.xit.ens.modules.common.code.StatCd;
import cokr.xit.ens.modules.ktsigntalk.direct.model.config.KtSigntalkStat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.util.List;

@Builder
@Data
@Schema(name = "KtSigntalkRsltRespDTO")
public class KtSigntalkRsltRespDTO {
    @Schema(required = true, title = "발송마스터ID", example = " ")
    private Long sendMastId;
    @Schema(required = true, title = "상태정보", example = " ")
    @Enumerated(EnumType.STRING)
    private StatCd statCd;
    @Schema(required = true, title = "기관코드", example = "EX_ORG001")
    private String orgCd;
    @Schema(required = false, title = "템플릿코드", example = "EX_TMPLT001")
    private String tmpltCd;
    @Schema(required = false, title = "제목", example = " ")
    private String postBundleTitle;
    @Schema(required = true, title = "접수일시(yyyyMMddHHmmss)", example = "20220317192730")
    private String sendDt;
    @Schema(required = true, title = "마감일시(yyyyMMddHHmmss)", example = "20220317235959")
    private String closeDt;
    @Schema(required = false, title = "발송요청문서", example = " ")
    private List<KtSigntalkStat> documents;

}
