6
jinlin
2023-11-29 b21945e7dea2daa8b30bee3cdd4bca91277e3b5f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.zt.modules.sys.mapstruct;
 
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
 
import com.zt.core.db.model.DataFilterMethod;
import com.zt.modules.sys.model.SysInterface;
 
/**
 * SYS_INTERFACE
 *
 * @author xhb test@email.com
 * @since 1.0.0 2020-06-02
 */
@Mapper(componentModel = "spring")
public interface SysInterfaceMapper {
 
    @Mappings({ @Mapping(target = "group1", source = "swagger"), @Mapping(target = "group2", source = "apiTags"),
            @Mapping(target = "method", source = "method") })
    SysInterface fromMethod(DataFilterMethod method);
}