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

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

import java.io.Serial;
import java.io.Serializable;

/**
 * @desc: 运营端商品统计查询参数vo
 * @author: yzc
 * @date: 2023-09-14 11:33
 */
@Getter
@Setter
@ToString
public class OperatorGoodsListQueryVO extends OperatorGoodsStsQueryVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 5355476498003837580L;

    /**
     * 当前页码
     */
    private int page = 1;
    /**
     * 每页数量
     */
    private int pageSize = 10;

    /**
     * 状态
     */
    @Range(min = 1, max = 2, message = "非法商品状态")
    private Integer status;


}
