package com.zhongshu.card.server.core.domain.paySetting;

import com.github.microservice.pay.client.type.PayProductChannelType;
import com.github.microservice.types.payment.PaymentType;
import com.zhongshu.card.server.core.domain.base.SuperMain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 机构（项目、机构）在支付中心的账号id
 *
 * @author TRX
 * @date 2024/10/9
 */
@Data
@Builder
@Document
@AllArgsConstructor
@NoArgsConstructor
public class OrgPayAccount extends SuperMain {

    @Schema(description = "机构名称")
    private String orgName;

    @Schema(description = "账号id")
    private String payAccountId;

    @Schema(description = "支付类型")
    private PaymentType paymentType;

    @Schema(description = "支付中心的支付方式")
    private PayProductChannelType productChannelType;

    @Schema(description = "是否禁用")
    private Boolean disable = Boolean.FALSE;

}
