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-11 23:51:41
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopDealerUserParam对象", description = "分销商用户记录表查询参数")
public class ShopDealerUserParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

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

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

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

    @Schema(description = "支付密码")
    private String payPassword;

    @Schema(description = "当前可提现佣金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal money;

    @Schema(description = "已冻结佣金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal freezeMoney;

    @Schema(description = "累积提现佣金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal totalMoney;

    @Schema(description = "佣金比例")
    @QueryField(type = QueryType.EQ)
    private BigDecimal rate;

    @Schema(description = "推荐人用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer refereeId;

    @Schema(description = "成员数量(一级)")
    @QueryField(type = QueryType.EQ)
    private Integer firstNum;

    @Schema(description = "成员数量(二级)")
    @QueryField(type = QueryType.EQ)
    private Integer secondNum;

    @Schema(description = "成员数量(三级)")
    @QueryField(type = QueryType.EQ)
    private Integer thirdNum;

    @Schema(description = "专属二维码")
    private String qrcode;

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

    @Schema(description = "是否删除")
    @QueryField(type = QueryType.EQ)
    private Integer isDelete;

}
