/** # __----~~~~~~~~~~~------___ # . . ~~//====...... __--~ ~~ # -. \_|// |||\\ ~~~~~~::::... /~ # ___-==_ _-~o~ \/ ||| \\ _/~~- # __---~~~.==~||\=_ -_--~/_-~|- |\\ \\ _/~ # _-~~ .=~ | \\-_ '-~7 /- / || \ / # .~ .~ | \\ -_ / /- / || \ / # / ____ / | \\ ~-_/ /|- _/ .|| \ / # |~~ ~~|--~~~~--_ \ ~==-/ | \~--===~~ .\ # ' ~-| /| |-~\~~ __--~~ # |-~~-_/ | | ~\_ _-~ /\ # / \ \__ \/~ \__ # _--~ _/ | .-~~____--~-/ ~~==. # ((->/~ '.|||' -_| ~~-/ , . _|| # -_ ~\ ~~---l__i__i__i--~~_/ # _-~-__ ~) \--______________--~~ # //.-~~~-~_--~- |-------~~~~~~~~ # //.-~~~--\ # 神兽保佑 # 永无BUG! */ package com.lunhan.water.service.convert; import com.lunhan.water.entity.request.paymentrecords.ReqCreatePaymentRecords; import com.lunhan.water.entity.request.paymentrecords.ReqModifyPaymentRecords; import com.lunhan.water.repository.po.PaymentRecordsPO; import com.lunhan.water.repository.vo.PaymentRecordsVO; import org.mapstruct.Mapper; import org.mapstruct.factory.Mappers; import java.util.List; /** * PaymentRecords * @author {#=author} */ @Mapper public interface PaymentRecordsConvert { PaymentRecordsConvert INSTANCE = Mappers.getMapper(PaymentRecordsConvert.class); PaymentRecordsPO toCreate(ReqCreatePaymentRecords request); PaymentRecordsPO toModify(ReqModifyPaymentRecords request); PaymentRecordsVO toVo(PaymentRecordsPO item); List toVo(List list); }