public class ModelMapperUtils extends Object
该类用于创建 ModelMapper 对象
ModelMapper,
MatchingStrategies| 构造器和说明 |
|---|
ModelMapperUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.modelmapper.ModelMapper |
get()
获取默认ModelMapper实例
默认匹配规则为
MatchingStrategies.STANDARD |
static org.modelmapper.ModelMapper |
getStrictModelMapper()
获取严格匹配模式的ModelMapper实例
|
@NonNull public static org.modelmapper.ModelMapper get()
MatchingStrategies.STANDARD@NonNull public static org.modelmapper.ModelMapper getStrictModelMapper()
Copyright © 2021 HaiChuang Inc.. All rights reserved.