package com.seer.teach.pay.app.wallet.convert;

import com.seer.teach.pay.app.wallet.resp.UserCoinAccountTradeLogResp;
import com.seer.teach.pay.entity.PayCoinAccountTradeLogEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface UserCoinAccountTradeLogConvert {

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

    PayCoinAccountTradeLogEntity convert(UserCoinAccountTradeLogResp req);


    List<UserCoinAccountTradeLogResp> convertList(List<PayCoinAccountTradeLogEntity> req);
}
