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

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

    @Schema(description = "0经销商,1企业也,2集团)")
    @QueryField(type = QueryType.EQ)
    private Integer type;

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

    @Schema(description = "客户编号")
    private String dealerCode;

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

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

    @Schema(description = "社区")
    private String community;

    @Schema(description = "楼栋号")
    private String buildingNumber;

    @Schema(description = "单元号")
    private String unitNumber;

    @Schema(description = "房号")
    private String roomNumber;

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

    @Schema(description = "申请方式(10需后台审核 20无需审核)")
    @QueryField(type = QueryType.EQ)
    private Integer applyType;

    @Schema(description = "申请时间")
    @QueryField(type = QueryType.EQ)
    private String applyTime;

    @Schema(description = "到期时间")
    @QueryField(type = QueryType.EQ)
    private String expirationTime;

    @Schema(description = "审核状态 (10待审核 20审核通过 30驳回)")
    @QueryField(type = QueryType.EQ)
    private Integer applyStatus;

    @Schema(description = "审核时间")
    @QueryField(type = QueryType.EQ)
    private String auditTime;

    @Schema(description = "驳回原因")
    private String rejectReason;

    @Schema(description = "分销商名称")
    @QueryField(type = QueryType.EQ)
    private String dealerName;

}
