yangys
2024-10-30 25db770e621f1259b8d5b7fd514207f7481c2d0f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.qianwen.smartman.modules.system.convert;
 
import java.util.List;
import org.mapstruct.Builder;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;
import com.qianwen.smartman.modules.system.entity.User;
import com.qianwen.smartman.modules.system.vo.UserSimpleVO;
 
@Mapper(builder = @Builder(disableBuilder = true))
 
public interface UserConvert {
    public static final UserConvert INSTANCE = (UserConvert) Mappers.getMapper(UserConvert.class);
 
    @Mappings({})
    UserSimpleVO convert(User user);
 
    @Mappings({})
    List<UserSimpleVO> convert(List<User> users);
}