package org.agt.module.license.controller.admin.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.agt.framework.common.pojo.PageParam;

import java.util.List;
import java.util.Set;

/**
 * @description: 通用导出参数
 * @author: cyc
 * @since: 2025-09-12
 */

@Schema(description = "管理后台 - 通用导出参数 Request VO")
@Data
public class CommonExportReqVO extends PageParam {

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

    @Schema(description = "sheet名称")
    private String sheetName;

    @Schema(description = "是否表头")
    private Boolean isHeader;

    @Schema(description = "是否源数据")
    private Boolean original;

    @Schema(description = "选择数据")
    private String mode;

    @Schema(description = "ids")
    private List<String> ids;

    @Schema(description = "选择字段")
    private List<CommonExportFieldsReqVO> fields;

    @Schema(description = "已选择字段")
    private Set<String> includeFields;
}
