All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.shoulder.web.template.oplog.convert.OperationLogEntity2DTOConverter Maven / Gradle / Ivy

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 OperationLogEntity2DTOConverter extends AbstractVODataConverter {

    public static final OperationLogEntity2DTOConverter INSTANCE = new OperationLogEntity2DTOConverter();

    @Override
    public void doConvert(@Nonnull OperationLogEntity sourceModel, @Nonnull OperationLogDTO targetModel) {
        // todo get/set
        BeanUtil.copyProperties(sourceModel, targetModel);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy