package com.gxwebsoft.shop.param; import java.math.BigDecimal; import java.util.Set; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableLogic; import com.gxwebsoft.common.core.annotation.QueryField; import com.gxwebsoft.common.core.annotation.QueryType; import com.gxwebsoft.common.core.web.BaseParam; import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * 商户查询参数 * * @author 科技小王子 * @since 2024-04-05 00:03:54 */ @Data @EqualsAndHashCode(callSuper = false) @JsonInclude(JsonInclude.Include.NON_NULL) @ApiModel(value = "MerchantParam对象", description = "商户查询参数") public class MerchantParam extends BaseParam { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "ID") @QueryField(type = QueryType.EQ) private Integer merchantId; @ApiModelProperty(value = "商户名称") private String merchantName; @ApiModelProperty(value = "商户标识") private String merchantCode; @ApiModelProperty(value = "店铺类型") @QueryField(type = QueryType.EQ) private Integer type; @ApiModelProperty(value = "商户图标") private String image; @ApiModelProperty(value = "商户手机号") private String phone; @ApiModelProperty(value = "商户姓名") private String realName; @ApiModelProperty(value = "店铺类型") private String shopType; @ApiModelProperty(value = "项目类型") private String itemType; @ApiModelProperty(value = "商户分类") private String category; @ApiModelProperty(value = "所在省份") private String province; @ApiModelProperty(value = "所在城市") private String city; @ApiModelProperty(value = "所在辖区") private String region; @ApiModelProperty(value = "手续费") @QueryField(type = QueryType.EQ) private BigDecimal commission; @ApiModelProperty(value = "关键字") private String keywords; @ApiModelProperty(value = "资质图片") private String files; @ApiModelProperty(value = "是否自营") @QueryField(type = QueryType.EQ) private Integer ownStore; @ApiModelProperty(value = "是否推荐") @QueryField(type = QueryType.EQ) private Integer recommend; @ApiModelProperty(value = "是否需要审核") @QueryField(type = QueryType.EQ) private Integer goodsReview; @ApiModelProperty(value = "备注") private String comments; @ApiModelProperty(value = "状态") @QueryField(type = QueryType.EQ) private Integer status; @ApiModelProperty("是否删除, 0否, 1是") @TableLogic private Integer deleted; @ApiModelProperty(value = "排序号") @QueryField(type = QueryType.EQ) private Integer sortNumber; @ApiModelProperty(value = "商户ID集合") @TableField(exist = false) private Set merchantIds; @ApiModelProperty(value = "商户编号集合") @TableField(exist = false) private Set merchantCodes; }