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

import cokr.xit.ens.core.model.EnsAcceptReqDTO;
import cokr.xit.ens.modules.nvsigntalk.model.config.Document;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.hibernate.validator.constraints.Length;

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

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

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

}
