org.shoulder.web.template.oplog.convert.OperationLogDTO2EntityConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shoulder-web Show documentation
Show all versions of shoulder-web Show documentation
shoulder WEB 模块,基于Spring Boot Web提供了 Controller AOP 日志、AOP异常处理,统一返回值,健康检查,租户、用户解析,Web
安全防护,通用CrudController,动态字典,标签管理,HTTP client AOP日志、AOP异常处理等能力,助力Web飞速开发。
The newest version!
package org.shoulder.web.template.oplog.convert;
import cn.hutool.core.bean.BeanUtil;
import org.shoulder.log.operation.model.OperationLogDTO;
import org.shoulder.web.template.crud.AbstractVODataConverter;
import org.shoulder.web.template.oplog.model.OperationLogEntity;
import javax.annotation.Nonnull;
/**
* VO -> domain
*
* @author lym
*/
public class OperationLogDTO2EntityConverter extends AbstractVODataConverter {
public static final OperationLogDTO2EntityConverter INSTANCE = new OperationLogDTO2EntityConverter();
@Override
public void doConvert(@Nonnull OperationLogDTO sourceModel, @Nonnull OperationLogEntity targetModel) {
// todo get/set
BeanUtil.copyProperties(sourceModel, targetModel);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy