package com.jwipc.sys.convert;

import com.jwipc.sys.dto.CompanyDTO;
import com.jwipc.sys.entity.Company;
import com.jwipc.sys.model.po.CompanyPO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface CompanyConvert {
    List<CompanyDTO> entity2ListDTO(List<Company> company);
    List<CompanyDTO> po2PageListDTO(List<CompanyPO> companyPOS);
}
