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 io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 收货地址查询参数
 *
 * @author 科技小王子
 * @since 2025-07-22 23:06:40
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopUserAddressParam对象", description = "收货地址查询参数")
public class ShopUserAddressParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "姓名")
    private String name;

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

    @Schema(description = "所在国家")
    private String country;

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

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

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

    @Schema(description = "收货地址")
    private String address;

    @Schema(description = "收货地址")
    private String fullAddress;

    private String lat;

    private String lng;

    @Schema(description = "1先生 2女士")
    @QueryField(type = QueryType.EQ)
    private Integer gender;

    @Schema(description = "家、公司、学校")
    private String type;

    @Schema(description = "默认收货地址")
    @QueryField(type = QueryType.EQ)
    private Boolean isDefault;

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

    @Schema(description = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

}
