package org.springblade.modules.external.ycbigdata.smartapplication.wrapper;

import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.external.ycbigdata.smartapplication.vo.FaceDeviceVO;
import org.springblade.modules.external.ycbigdata.smartapplication.vo.VideoCloudDeviceVO;
import org.springblade.smartapplication.facedevice.entity.FaceDevice;
import org.springblade.smartapplication.vcdevice.entity.VideoCloudDevice;
import org.springblade.smartapplication.videomonitor.vo.VideoMonitorVO;

import java.util.Objects;

/**
 * Created By lidexi in 2021/3/16
 **/
public class VideoCloudDeviceWrapper extends BaseEntityWrapper<VideoCloudDevice, VideoCloudDeviceVO> {


	public static VideoCloudDeviceWrapper build(){
		return new VideoCloudDeviceWrapper();
	}
	@Override
	public VideoCloudDeviceVO entityVO(VideoCloudDevice videoCloudDevice) {

		VideoCloudDeviceVO videoCloudDeviceVO = Objects.requireNonNull(BeanUtil.copy(videoCloudDevice,VideoCloudDeviceVO.class));
		return videoCloudDeviceVO;
	}
}
