package com.qmth.distributed.print.business.bean.params;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;

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

/**
 * @Description: 批量删除参数接收类
 * @Author: CaoZixuan
 * @Date: 2021-08-04
 */
public class DeleteBatchParams {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "选择的要删除的id数组",required = true)
    @NotEmpty(message = "必须勾选要删除的目标")
    private List<Long> idList;

    public List<Long> getIdList() {
        return idList;
    }

    public void setIdList(List<Long> idList) {
        this.idList = idList;
    }
}
