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);
|
}
|