package cokr.xit.ens.modules.kkomydoc.model;

import cokr.xit.ens.core.model.EnsAcceptReqDTO;
import cokr.xit.ens.modules.kkomydoc.model.config.Document;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

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

@SuperBuilder
@Data
@Schema(name = "KkoMydocAcceptReqDTO")
@NoArgsConstructor
public class KkoMydocAcceptReqDTO extends EnsAcceptReqDTO {

    @Valid
    @NotEmpty(message = "문서목록은 필수 입력값 입니다")
    private List<Document> documents;

}
