package com.yami.shop.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@ApiModel("根据分类ID、商户ID查询归属的所有商品DTO")
@Data
@Accessors(chain = true)
public class ProdByCategoryIdAndShopIdDTO {
    @ApiModelProperty("分类ID")
    private long categoryId;
    @ApiModelProperty("渠道ID")
    private long channelId;
    @ApiModelProperty("商户ID")
    private long shopId;
    @ApiModelProperty(value = "排序(0 默认排序 1销量排序 2价格排序)")
    private Integer sort;
    @ApiModelProperty(value = "排序(0升序 1降序)")
    private Integer orderBy;
    private int current = 1;
    private int size = 10;
}
