/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.param;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author LGH
 */
@Data
public class SearchParam {


    @ApiModelProperty(value = "商品名")
    private String prodName;

    @ApiModelProperty(value = "排序(0 默认排序 1销量排序 2价格排序 3距离排序)")
    private Integer sort;

    @ApiModelProperty(value = "排序(0升序 1降序)")
    private Integer orderBy;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "平台分类id")
    private Long categoryId;

    @ApiModelProperty(value = "渠道id")
    private Long channelId;

    @ApiModelProperty(value = "商品ids")
    private List<Long> prodIds;

    @ApiModelProperty(value = "店铺分类id")
    private Long shopCategoryId;

    @ApiModelProperty(value = "商品类型(0普通商品 1拼团 2秒杀 3积分)")
    private Integer prodType;

    @ApiModelProperty(value = "查询所有的商品类型")
    private Boolean isAllProdType;

    @ApiModelProperty("纬度")
    private String lat;

    @ApiModelProperty("经度")
    private String lon;

    @ApiModelProperty("距离")
    private String distance;

//    @ApiModelProperty("平台")
//    private Integer platform;

}
