package com.xindazhou.vehicle.convert.archive;

import com.xindazhou.framework.common.pojo.PageResult;
import com.xindazhou.vehicle.controller.admin.vehicle.vo.VehicleArchiveRespVO;
import com.xindazhou.vehicle.dal.dataobject.archive.VehicleArchiveDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 车辆档案 Convert
 *
 * @author xindazhou
 */
@Mapper
public interface VehicleArchiveConvert {

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

    VehicleArchiveRespVO convert(VehicleArchiveDO bean);

    PageResult<VehicleArchiveRespVO> convertPage(PageResult<VehicleArchiveDO> page);

}

