提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.convert.file; |
H |
2 |
|
|
3 |
import com.iailab.module.infra.controller.admin.file.vo.config.FileConfigSaveReqVO; |
|
4 |
import com.iailab.module.infra.dal.dataobject.file.FileConfigDO; |
|
5 |
import org.mapstruct.Mapper; |
|
6 |
import org.mapstruct.Mapping; |
|
7 |
import org.mapstruct.factory.Mappers; |
|
8 |
|
|
9 |
/** |
|
10 |
* 文件配置 Convert |
|
11 |
* |
|
12 |
* @author iailab |
|
13 |
*/ |
|
14 |
@Mapper |
|
15 |
public interface FileConfigConvert { |
|
16 |
|
|
17 |
FileConfigConvert INSTANCE = Mappers.getMapper(FileConfigConvert.class); |
|
18 |
|
|
19 |
@Mapping(target = "config", ignore = true) |
|
20 |
FileConfigDO convert(FileConfigSaveReqVO bean); |
|
21 |
|
|
22 |
} |