package com.gxwebsoft.credit.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 2026-03-16 20:59:17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "CreditMpCustomerParam对象", description = "小程序端客户查询参数")
public class CreditMpCustomerParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @Schema(description = "拖欠方")
    private String toUser;

    @Schema(description = "拖欠金额")
    private String price;

    @Schema(description = "拖欠年数")
    private String years;

    @Schema(description = "链接")
    private String url;

    @Schema(description = "状态")
    private String statusTxt;

    @Schema(description = "企业ID")
    @QueryField(type = QueryType.EQ)
    private Integer companyId;

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

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

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

    @Schema(description = "文件路径")
    private String files;

    @Schema(description = "是否有数据")
    @QueryField(type = QueryType.EQ)
    private Boolean hasData;

    @Schema(description = "步骤, 0未受理1已受理2材料提交3合同签订4执行回款5完结")
    @QueryField(type = QueryType.EQ)
    private Integer step;

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

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

    @Schema(description = "排序(数字越小越靠前)")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @Schema(description = "状态, 0正常, 1冻结")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

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

}
