package com.gxwebsoft.credit.param;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.gxwebsoft.credit.excel.ExcelHeaderAlias;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 被执行人导入参数
 */
@Data
public class CreditJudgmentDebtorImportParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @Excel(name = "案号")
    private String caseNumber;

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

    @Excel(name = "被执行人")
    private String name1;

    @Excel(name = "原告/上诉人")
    private String plaintiffAppellant;

    @Excel(name = "被告/被上诉人")
    @ExcelHeaderAlias({"被执行人名称"})
    private String appellee;

    @Excel(name = "其他当事人/第三人")
    private String otherPartiesThirdParty;

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

    @Excel(name = "立案日期")
    private String occurrenceTime;

    @Schema(description = "涉案金额")
    @Excel(name = "涉案金额")
    private String involvedAmount;

    /**
     * 兼容企查查“历史被执行人”表头：执行标的(元)
     * 注意：模板导出仍以标准字段为主，这里仅用于增强导入兼容性。
     */
    @Excel(name = "执行标的(元)")
    private String involvedAmountQcc;

    @Excel(name = "法院")
    private String courtName;

    /**
     * 兼容企查查“历史被执行人”表头：执行法院
     */
    @Excel(name = "执行法院")
    private String courtNameQcc;

    @Excel(name = "数据状态")
    private String dataStatus;

    @Excel(name = "备注")
    private String comments;

    @Schema(description = "发生时间")
    @Excel(name = "发生时间")
    private String occurrenceTime2;
}
