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