fix
Helius
2022-07-12 ccafbd516a315f23214aea124f41d47ea47b69f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.xcong.farmer.cms.conversion;
 
import com.xcong.farmer.cms.modules.system.dto.SetWebSettingDto;
import com.xcong.farmer.cms.modules.system.entity.WebSettingEntity;
import com.xcong.farmer.cms.modules.system.vo.AdminSeeWebSetInfoVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
 
/**
 * @author wzy
 * @date 2022-07-11
 **/
@Mapper
public abstract class WebSettingConversion {
    public static WebSettingConversion INSTANCE = Mappers.getMapper(WebSettingConversion.class);
 
    public abstract WebSettingEntity dtoToEntity(SetWebSettingDto setWebSettingDto);
 
    public abstract AdminSeeWebSetInfoVo entityToVo(WebSettingEntity webSettingEntity);
}