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

import cokr.xit.ens.modules.ktsigntalk.gibis.model.config.DocStatResp;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.Valid;
import java.util.List;

@Getter
@ToString
@Builder
@Schema(name = "KtGibisRsltStatFwdDTO")
public class KtGibisRsltStatFwdDTO {

    @Length(max = 5, message = "기관코드의 최대 길이를 초과 했습니다.")
    @Schema(required = true, title = "기관코드", example = " ")
    private String service_cd;
    @Valid
    private List<DocStatResp> reqs;
}
