package com.hys.app.converter.erp;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hys.app.model.erp.entity.*;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.MappingTarget;
import org.mapstruct.factory.Mappers;

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

    CompanyPackage convert(CompanyPackageDO bean);
    CompanyPackageVO convert(CompanyPackage bean);
    Page<CompanyPackageVO> convert(Page<CompanyPackage> bean);

}
