com.haoxuer.discover.web.rest.convert.WebConfigResponseConvert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discover-website Show documentation
Show all versions of discover-website Show documentation
discover网站配置模块,主要管理网站主题,网站配置等功能
package com.haoxuer.discover.web.rest.convert;
import com.haoxuer.discover.web.api.domain.response.WebConfigResponse;
import com.haoxuer.discover.web.data.entity.WebConfig;
import com.haoxuer.discover.data.rest.core.Conver;
import com.haoxuer.discover.data.utils.BeanDataUtils;
public class WebConfigResponseConvert implements Conver {
@Override
public WebConfigResponse conver(WebConfig source) {
WebConfigResponse result = new WebConfigResponse();
BeanDataUtils.copyProperties(source,result);
return result;
}
}