package com.xindazhou.vehicle.convert.theft;

import com.xindazhou.framework.common.pojo.PageResult;
import com.xindazhou.vehicle.controller.admin.vehicle.vo.VehicleTheftRespVO;
import com.xindazhou.vehicle.dal.dataobject.theft.VehicleTheftDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 失窃监控 Convert
 *
 * @author xindazhou
 */
@Mapper
public interface VehicleTheftConvert {

    VehicleTheftConvert INSTANCE = Mappers.getMapper(VehicleTheftConvert.class);

    VehicleTheftRespVO convert(VehicleTheftDO bean);

    PageResult<VehicleTheftRespVO> convertPage(PageResult<VehicleTheftDO> page);

}
