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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 商户租户进件/二级商户号解析快照，供跨模块判断分账结算前置条件。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "特约商户进件快照")
public class PaySubMerchantOnboardingSnapshotVO {

    @Schema(description = "商户租户主键（进件 applyment_tenant_id）")
    private String merchantTenantId;

    @Schema(description = "是否存在进件记录")
    private Boolean hasApplyment;

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

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

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

    @Schema(description = "是否为有效二级商户（FINISH + sub_mch_id + 未注销）")
    private Boolean effective;

    @Schema(description = "无效时的说明（effective=false 时有值）")
    private String message;
}
