package com.zhongshu.card.server.core.dao.projectAbout;

import com.github.microservice.components.data.mongo.mongo.dao.MongoDao;
import com.github.microservice.types.payment.PaymentChannelType;
import com.github.microservice.types.payment.PaymentType;
import com.zhongshu.card.server.core.dao.projectAbout.extend.PayChannelConfigDaoExtend;
import com.zhongshu.card.server.core.domain.paySetting.OrgPayAccount;
import com.zhongshu.card.server.core.domain.paySetting.PayChannelConfig;

/**
 * 机构管理的支付账号
 */
public interface OrgPayAccountDao extends MongoDao<OrgPayAccount> {

    OrgPayAccount findTopById(String id);

    OrgPayAccount findTopByOidAndPaymentType(String oid, PaymentType paymentType);

    OrgPayAccount findTopByPayAccountId(String payAccountId);

}
