package com.gxwebsoft.shop.param;

import java.math.BigDecimal;
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.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商户查询参数
 *
 * @author 科技小王子
 * @since 2025-08-10 20:43:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopMerchantParam对象", description = "商户查询参数")
public class ShopMerchantParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @QueryField(type = QueryType.EQ)
    private Long merchantId;

    @Schema(description = "商户名称")
    private String merchantName;

    @Schema(description = "商户编号")
    private String merchantCode;

    @Schema(description = "商户类型")
    @QueryField(type = QueryType.EQ)
    private Integer type;

    @Schema(description = "商户图标")
    private String image;

    @Schema(description = "商户手机号")
    private String phone;

    @Schema(description = "商户姓名")
    private String realName;

    @Schema(description = "店铺类型")
    private String shopType;

    @Schema(description = "项目分类")
    private String itemType;

    @Schema(description = "商户分类")
    private String category;

    @Schema(description = "商户经营分类")
    @QueryField(type = QueryType.EQ)
    private Integer merchantCategoryId;

    @Schema(description = "商户分类")
    private String merchantCategoryTitle;

    @Schema(description = "经纬度")
    private String lngAndLat;

    private String lng;

    private String lat;

    @Schema(description = "所在省份")
    private String province;

    @Schema(description = "所在城市")
    private String city;

    @Schema(description = "所在辖区")
    private String region;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "手续费")
    @QueryField(type = QueryType.EQ)
    private BigDecimal commission;

    @Schema(description = "关键字")
    private String keywords;

    @Schema(description = "资质图片")
    private String files;

    @Schema(description = "营业时间")
    private String businessTime;

    @Schema(description = "文章内容")
    private String content;

    @Schema(description = "每小时价格")
    @QueryField(type = QueryType.EQ)
    private BigDecimal price;

    @Schema(description = "是否自营")
    @QueryField(type = QueryType.EQ)
    private Integer ownStore;

    @Schema(description = "是否可以快递")
    @QueryField(type = QueryType.EQ)
    private Boolean canExpress;

    @Schema(description = "是否推荐")
    @QueryField(type = QueryType.EQ)
    private Integer recommend;

    @Schema(description = "是否营业")
    @QueryField(type = QueryType.EQ)
    private Integer isOn;

    private String startTime;

    private String endTime;

    @Schema(description = "是否需要审核")
    @QueryField(type = QueryType.EQ)
    private Integer goodsReview;

    @Schema(description = "管理入口")
    private String adminUrl;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "所有人")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

    @Schema(description = "状态")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @Schema(description = "排序号")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

}
