package com.zhongshu.card.client.model.paySetting.paySetting;

import com.github.microservice.types.payment.PaymentType;
import com.zhongshu.card.client.type.DataState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author TRX
 * @date 2024/10/22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayConfigParam {

    @Schema(description = "数据ID")
    private String id;

    @Schema(description = "账户/名称")
    private String name;

    @Schema(description = "商户ID")
    private String mchId;

    @Schema(description = "银行账号")
    private String bankAccountNumber;

    @Schema(description = "开户行")
    private String bankName;

    @Schema(description = "开户支行")
    private String bankSubName;

    @Schema(description = "所属机构oid")
    private String belongOig;

    @Schema(description = "所属项目oid", required = true)
    private String projectOid;

    @Schema(description = "支付产品", required = true)
    private PaymentType channelType;

    @Schema(description = "账户类型,如：true：主账户  false:子账户")
    private Boolean isDefault = Boolean.FALSE;

    @Schema(description = "是否可用")
    private DataState state;

}
