package org.wfc.system.domain.convert;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.wfc.omada.api.device.model.DeviceInfo;
import org.wfc.omada.api.organization.model.SiteSummaryInfo;
import org.wfc.system.domain.SysDevice;
import org.wfc.system.domain.vo.SysDashboardSiteVo;

import java.util.List;

/**
 * @description: OmadaMapping
 * @author: cyc
 * @since: 2024-12-30
 */
@Mapper
public interface SysDashboardConvert {

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

    SysDashboardSiteVo toSysDashboardSiteVo(SiteSummaryInfo siteSummaryInfo);

    List<SysDevice> toSysDevices(List<DeviceInfo> deviceInfos);

}
