package cn.cordys.common.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class ExportSelectRequest {

    @Schema(description = "文件名")
    private String fileName;

    @Schema(description = "表头信息")
    @NotEmpty(message = "{export_head_list_is_empty}")
    private List<ExportHeadDTO> headList;

    @Schema(description = "勾选的数据id集合")
    @NotEmpty(message = "{export_select_ids_is_empty}")
    private List<String> ids;
}
