CRUDDTOMapper
interface CRUDDTOMapper<I : Serializable, in M : CRUDModel<I>, out D : CRUDDTO<I>, out CM : CRUDCreateModel, out UM : CRUDUpdateModel, in CD : CRUDCreateDTO, in UD : CRUDUpdateDTO>(source)
Mapper to convert between DTOs, models and entities
Parameters
I
Id type of the data
M
Model type of the data which is a CRUDModel
D
DTO type of the data which is a CRUDDTO
CM
Create model type of the data which is a CRUDCreateModel
UM
Update model type of the data which is a CRUDUpdateModel
CD
Create DTO type of the data which is a CRUDCreateDTO
UD
Update DTO type of the data which is a CRUDUpdateDTO
Functions
Link copied to clipboard
Mapper to convert given create DTO to a create model
Link copied to clipboard
Mapper to convert from model to DTO
Link copied to clipboard
Mapper to convert given update DTO to a update model