ExportBase.java 872 Bytes
Newer Older
yanzg's avatar
yanzg committed
1 2
package com.yanzuoguang.excel;

yanzg's avatar
yanzg committed
3
import com.yanzuoguang.util.vo.BaseVo;
yanzg's avatar
yanzg committed
4 5 6
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

yanzg's avatar
yanzg committed
7 8
/**
 * 导出数据
yanzg's avatar
yanzg committed
9
 *
yanzg's avatar
yanzg committed
10 11 12
 * @param <T>
 * @author 颜佐光
 */
yanzg's avatar
yanzg committed
13
@ApiModel(description = "订单导出基本请求信息")
yanzg's avatar
yanzg committed
14
public class ExportBase<T extends Object> extends BaseVo {
yanzg's avatar
yanzg committed
15 16 17
    /**
     * 导出格式
     */
yanzg's avatar
yanzg committed
18
    @ApiModelProperty(notes = "导出格式配置信息", required = true)
yanzg's avatar
yanzg committed
19
    private ExportData config;
yanzg's avatar
yanzg committed
20 21 22
    /**
     * 查询条件
     */
yanzg's avatar
yanzg committed
23
    @ApiModelProperty(notes = "查询条件", required = true)
yanzg's avatar
yanzg committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
    private T cond;

    public ExportData getConfig() {
        return config;
    }

    public void setConfig(ExportData config) {
        this.config = config;
    }

    public T getCond() {
        return cond;
    }

    public void setCond(T cond) {
        this.cond = cond;
    }
}