package cokr.xit.ens.core.model;

import cokr.xit.ens.modules.common.code.StatCd;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@SuperBuilder
@Getter
@Schema(name = "EnsRsltRespDTO")
@NoArgsConstructor
public class EnsRsltRespDTO {
    @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 = true, title = "마감여부", example = "false")
    private Boolean closeAt;
}
