package com.gxwebsoft.credit.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 被执行人查询参数
 *
 * @author 科技小王子
 * @since 2025-12-19 19:50:54
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "CreditJudgmentDebtorParam对象", description = "被执行人查询参数")
public class CreditJudgmentDebtorParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @Schema(description = "案号")
    private String caseNumber;

    @Schema(description = "被执行人名称")
    private String name;

    @Schema(description = "证件号/组织机构代码")
    private String code;

    @Schema(description = "立案日期")
    private String occurrenceTime;

    @Schema(description = "执行标的(元)")
    @QueryField(type = QueryType.EQ)
    private String amount;

    @Schema(description = "法院")
    private String courtName;

    @Schema(description = "数据状态")
    private String dataStatus;

    @Schema(description = "企业ID")
    private Integer companyId;

    @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;

}
