package com.sckw.order.model.vo.req;

import jakarta.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @desc: 批量删除请求参数
 * @author: yzc
 * @date: 2023-07-18 15:05
 */
@Getter
@Setter
@ToString
public class BatchDeleteParam {

    @NotBlank(message = "订单ids不能为空")
    private String ids;

    /**
     * 订单类型（1采购订单、2销售订单）
     */
    @Min(value = 1, message = "非法订单类型")
    @Max(value = 2, message = "非法订单类型")
    @NotNull(message = "订单类型不能为空")
    private Integer orderType;
}
