package cokr.xit.ens.modules.common.ctgy.nicedici.support.rest.model.conf;

import com.fasterxml.jackson.annotation.JsonAlias;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.SuperBuilder;

@Getter
@ToString
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "DataBodyCiResp")
public class DataBodyCiResp {

    @JsonAlias({"rsp_cd"})
    @Schema(required = true, title = "dataBody 응답 코드", example = "P000")
    private String rspCd;

    @JsonAlias({"res_msg"})
    @Schema(required = false, title = "dataBody 응답 메시지", example = " ")
    private String resMsg;

    @JsonAlias({"result_cd"})
    @Schema(required = false, title = "상세결과코드", example = " ")
    private String resultCd;

    @JsonAlias({"enc_data"})
    @Schema(required = false, title = "JSON 암호화값", example = " ")
    private String encData;

    @JsonAlias({"integrity_value"})
    @Schema(required = false, title = "base64 인코딩 값", example = " ")
    private String integrityValue;


    @Schema(required = false, title = "JSON 디코딩 값", example = " ")
    @Setter
    private EncData decEncData;

}
