wuzeyu
2024-01-06 2e9ac6878d3d7a59c200be7d74811c89dadf3a44
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.dy.pipIrrProject.controller;
 
import com.dy.pipIrrGlobal.pojoPr.PrController;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;
 
/**
 * @author ZhuBaoMin
 * @date 2024-01-02 16:39
 * @LastEditTime 2024-01-02 16:39
 * @Description
 */
 
@Mapper
public interface DtoToPojo {
    DtoToPojo INSTANCT = Mappers.getMapper(DtoToPojo.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")
    PrController po2vo(DtoController po);
}