@Service public class DtoConvertService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.modelmapper.ModelMapper |
modelMapper |
| Constructor and Description |
|---|
DtoConvertService() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convert(Object from,
Class<T> to)
Convert t.
|
<T> List<T> |
convertList(List from,
Class<T> to)
Convert list list.
|
Copyright © 2025. All rights reserved.