2026-06-25 a26b31cc9f3ee9b21b1a754e80fa7359e8a7a8f8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package cn.iocoder.yudao.module.mp.convert.account;
 
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.mp.controller.admin.account.vo.MpAccountCreateReqVO;
import cn.iocoder.yudao.module.mp.controller.admin.account.vo.MpAccountRespVO;
import cn.iocoder.yudao.module.mp.controller.admin.account.vo.MpAccountSimpleRespVO;
import cn.iocoder.yudao.module.mp.controller.admin.account.vo.MpAccountUpdateReqVO;
import cn.iocoder.yudao.module.mp.dal.dataobject.account.MpAccountDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
 
import java.util.List;
 
@Mapper
public interface MpAccountConvert {
 
    MpAccountConvert INSTANCE = Mappers.getMapper(MpAccountConvert.class);
 
    MpAccountDO convert(MpAccountCreateReqVO bean);
 
    MpAccountDO convert(MpAccountUpdateReqVO bean);
 
    MpAccountRespVO convert(MpAccountDO bean);
 
    List<MpAccountRespVO> convertList(List<MpAccountDO> list);
 
    PageResult<MpAccountRespVO> convertPage(PageResult<MpAccountDO> page);
 
    List<MpAccountSimpleRespVO> convertList02(List<MpAccountDO> list);
 
}