package com.xindazhou.business.convert.community.report;

import com.xindazhou.business.controller.admin.community.report.vo.ReportRespVO;
import com.xindazhou.business.dal.community.dataobject.report.ReportDO;
import com.xindazhou.framework.common.pojo.PageResult;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 举报 Convert
 *
 * @author xindazhou
 */
@Mapper
public interface ReportConvert {

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

    ReportRespVO convert(ReportDO bean);

    PageResult<ReportRespVO> convertPage(PageResult<ReportDO> page);

}

