package com.jeesharp.business.modules.pay.paysubmerchantapplyment.vo;

import com.jeesharp.framework.pojo.vo.BaseInfoVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 特约商户进件详情 VO。
 *
 * @author jeesharp
 * @since 2026-05-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "特约商户进件详情")
public class PaySubMerchantApplymentInfoVO extends BaseInfoVO {

    @Schema(description = "业务申请编号")
    private String businessCode;

    @Schema(description = "微信支付申请单号")
    private Long applymentId;

    @Schema(description = "特约商户号")
    private String subMchId;

    @Schema(description = "商户简称")
    private String merchantShortname;

    @Schema(description = "主体类型")
    private String subjectType;

    @Schema(description = "申请状态")
    private String applyStatus;

    @Schema(description = "状态名称")
    private String applyStatusName;

    @Schema(description = "状态说明")
    private String applyStatusDesc;

    @Schema(description = "签约链接")
    private String signUrl;

    @Schema(description = "微信配置ID")
    private String wechatConfigId;

    @Schema(description = "进件API类型：APPLYMENT4SUB / ECOMMERCE")
    private String applymentApiType;

    @Schema(description = "进件API类型名称")
    private String applymentApiTypeName;

    @Schema(description = "进件草稿 JSON")
    private String draftJson;

    @Schema(description = "最近提交 JSON")
    private String lastSubmitJson;

    @Schema(description = "最近查询 JSON")
    private String lastQueryJson;

    @Schema(description = "提交时间")
    private LocalDateTime submitDate;

    @Schema(description = "最近同步时间")
    private LocalDateTime lastSyncDate;

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

    @Schema(description = "进件所属租户主键（企业租户表 id，业务字段）")
    private String applymentTenantId;

    @Schema(description = "进件所属租户编号（企业租户表 code，业务字段）")
    private String applymentTenantCode;
}
