package com.qianwen.smartman.modules.andon.convert; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import java.util.List; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.Mappings; import org.mapstruct.factory.Mappers; import com.qianwen.smartman.modules.andon.entity.DeviceAndonType; import com.qianwen.smartman.modules.andon.vo.DeviceAndonTypeVO; @Mapper /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/andon/convert/DeviceAndonTypeConvert.class */ public interface DeviceAndonTypeConvert { public static final DeviceAndonTypeConvert INSTANCE = (DeviceAndonTypeConvert) Mappers.getMapper(DeviceAndonTypeConvert.class); @Mappings({}) DeviceAndonTypeVO convert(DeviceAndonType deviceAndonType); @Mappings({@Mapping(source = "id", target = "id")}) DeviceAndonType convert(DeviceAndonTypeVO deviceAndonTypeVO); @Mappings({}) List convert(List list); @Mappings({}) default IPage convert(IPage page) { Page page2 = new Page(page.getCurrent(), page.getSize(), page.getTotal()); page2.setRecords(convert(page.getRecords())); return page2; } }