package com.red.circle.other.app.inner.convertor.user;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.user.user.BankIdentityInfo;
import com.red.circle.other.inner.model.cmd.user.UserBankIdentityInfoCmd;
import com.red.circle.other.inner.model.dto.user.UserBankIdentityInfoDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/8/15
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface UserBankIdentityInfoInnerConvertor {

  UserBankIdentityInfoDTO toBankIdentityInfoDTO(BankIdentityInfo bankIdentityInfo);

  List<UserBankIdentityInfoDTO> toListBankIdentityInfoDTO(List<BankIdentityInfo> bankIdentityInfos);

  BankIdentityInfo toBankIdentityInfo(UserBankIdentityInfoCmd cmd);
}
