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

import cokr.xit.ens.core.model.EnsAcceptReqDTO;
import cokr.xit.ens.modules.ktsigntalk.direct.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 = "KtSigntalkAcceptReqDTO")
@NoArgsConstructor
public class KtSigntalkAcceptReqDTO extends EnsAcceptReqDTO {

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

}
