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;

/**
 * 企业查询参数
 *
 * @author 科技小王子
 * @since 2025-12-17 08:28:02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "CreditCompanyParam对象", description = "企业查询参数")
public class CreditCompanyParam 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 matchName;

    @Schema(description = "统一社会信用代码")
    private String code;

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

    @Schema(description = "上级id, 0是顶级")
    @QueryField(type = QueryType.EQ)
    private Integer parentId;

    @Schema(description = "登记状态")
    private String registrationStatus;

    @Schema(description = "法定代表人")
    private String legalPerson;

    @Schema(description = "注册资本")
    private String registeredCapital;

    @Schema(description = "实缴资本")
    private String paidinCapital;

    @Schema(description = "成立日期")
    private String establishDate;

    @Schema(description = "企业地址")
    private String address;

    @Schema(description = "电话")
    private String tel;

    @Schema(description = "更多电话")
    private String moreTel;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "更多邮箱")
    private String moreEmail;

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

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

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

    @Schema(description = "所属区县")
    private String region;

    @Schema(description = "企业（机构）类型")
    private String institutionType;

    @Schema(description = "纳税人识别号")
    private String taxpayerCode;

    @Schema(description = "注册号")
    private String registrationNumber;

    @Schema(description = "组织机构代码")
    private String organizationalCode;

    @Schema(description = "参保人数")
    private String numberOfInsuredPersons;

    @Schema(description = "参保人数所属年报")
    private String annualReport;

    @Schema(description = "营业期限")
    private String businessTerm;

    @Schema(description = "国标行业门类")
    private String nationalStandardIndustryCategories;

    @Schema(description = "国标行业大类")
    private String nationalStandardIndustryCategories2;

    @Schema(description = "国标行业中类")
    private String nationalStandardIndustryCategories3;

    @Schema(description = "国标行业小类")
    private String nationalStandardIndustryCategories4;

    @Schema(description = "企查查行业门类")
    private String nationalStandardIndustryCategories5;

    @Schema(description = "企查查行业大类")
    private String nationalStandardIndustryCategories6;

    @Schema(description = "企查查行业中类")
    private String nationalStandardIndustryCategories7;

    @Schema(description = "企查查行业小类")
    private String nationalStandardIndustryCategories8;

    @Schema(description = "企业规模")
    private String companySize;

    @Schema(description = "曾用名")
    private String formerName;

    @Schema(description = "英文名")
    private String englishName;

    @Schema(description = "官网")
    private String domain;

    @Schema(description = "通信地址")
    private String mailingAddress;

    @Schema(description = "企业简介")
    private String companyProfile;

    @Schema(description = "经营范围")
    private String natureOfBusiness;

    @Schema(description = "登记机关")
    private String registrationAuthority;

    @Schema(description = "纳税人资质")
    private String taxpayerQualification;

    @Schema(description = "最新年报年份")
    private String latestAnnualReportYear;

    @Schema(description = "最新年报营业收入")
    private String latestAnnualReportOnOperatingRevenue;

    @Schema(description = "企查分")
    private String enterpriseScoreCheck;

    @Schema(description = "信用等级")
    private String creditRating;

    @Schema(description = "科创分")
    private String cechnologyScore;

    @Schema(description = "科创等级")
    private String cechnologyLevel;

    @Schema(description = "是否小微企业")
    private String smallEnterprise;

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

}
