package cn.pluss.platform.converter;

import cn.pluss.platform.dto.BankInfoDTO;
import cn.pluss.platform.entity.BankCard;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 银行卡信息转换接口
 * @author DJH
 */
@Mapper
public interface BankCardConverter {

    BankCardConverter INSTANCE = Mappers.getMapper(BankCardConverter.class);

    /**
     * 属性转换
     * @param bankInfoDTO
     * @return  BankCard实体类
     */
    BankCard dto2Domain(BankInfoDTO bankInfoDTO);
}