package cn.skcks.docking.gb28181.wvp.api.device.convertor;

import cn.skcks.docking.gb28181.wvp.api.device.dto.AddDeviceDTO;
import cn.skcks.docking.gb28181.wvp.orm.mybatis.dynamic.model.WvpProxyDevice;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public abstract class DeviceDTOConvertor {
    public static final DeviceDTOConvertor INSTANCE = Mappers.getMapper(DeviceDTOConvertor.class);

    abstract public WvpProxyDevice dto2dao(AddDeviceDTO dto);
}
