package com.sckw.report.service.param;

import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;

/**
 * @desc: 贸易订单app统计
 * @author: yzc
 * @date: 2023-08-21 17:21
 */
@Getter
@Setter
@ToString
public class TradeOrderAppStatisticParam {

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