package com.hys.app.converter.erp;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hys.app.model.erp.dos.MailSmsCountDO;
import com.hys.app.model.erp.vo.MailSmsCountVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface MailSmsCompanyConverter {
    MailSmsCompanyConverter INSTANCE = Mappers.getMapper(MailSmsCompanyConverter.class);

    MailSmsCountVO convert(MailSmsCountDO bean);


    Page<MailSmsCountVO> convert(Page<MailSmsCountDO> page);

}
