package cn.stylefeng.team.project.modular.business.pojo.request;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class BusinessDeleteBatchRequest extends BaseRequest {

    @NotNull(message = "业务id不能为空")
    @ChineseDescription("业务id")
    private Long businessId;

    @NotNull(message = "业务id集合不能为空")
    @ChineseDescription("批量删除业务id集合")
    private List<Long> batchDeleteIdList;

}
