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

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;

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.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

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

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

}
