package com.jeesharp.business.modules.pay.profitsharing.dto;

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

/**
 * 微信电商收付通添加分账接收方请求 DTO。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "添加分账接收方请求")
public class PayProfitSharingReceiverAddRequestDTO {

    @Schema(description = "平台微信配置租户（一般为平台租户）")
    private String platformTenantId;

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

    @Schema(description = "接收方类型：MERCHANT_ID、PERSONAL_OPENID 等")
    private String receiverType;

    @Schema(description = "接收方账号（商户号或 openid）")
    private String receiverAccount;

    @Schema(description = "接收方名称（个人 openid 时加密，可选）")
    private String receiverName;

    @Schema(description = "与分账方关系类型，如 SUPPLIER、PARTNER")
    private String relationType;

    @Schema(description = "自定义分账关系（relation_type=CUSTOM 时使用）")
    private String customRelation;
}
