| package com.dy.pipIrrProject.flowMonitoring; | 
|   | 
| import com.dy.pipIrrGlobal.pojoPr.PrFlowmeter; | 
| import org.mapstruct.Mapper; | 
| import org.mapstruct.Mapping; | 
| import org.mapstruct.factory.Mappers; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-01-05 9:38 | 
|  * @LastEditTime 2024-01-05 9:38 | 
|  * @Description | 
|  */ | 
|   | 
| @Mapper | 
| public interface DtoToFlowmeterPojo { | 
|     DtoToFlowmeterPojo INSTANCT = Mappers.getMapper(DtoToFlowmeterPojo.class); | 
| //    @Mapping(target = "code", source = "code") | 
| //    @Mapping(target = "protocol", source = "protocol") | 
| //    @Mapping(target = "onlineState", source = "onlineState") | 
| //    @Mapping(target = "addWays", source = "addWays") | 
| //    @Mapping(target = "operator", source = "operator") | 
| //    @Mapping(target = "remarks", source = "remarks") | 
|     PrFlowmeter po2vo(DtoFlowmeter po); | 
| } |