CRUDController
fun <out DTOMapper : CRUDDTOMapper<I, M, D, CM, UM, CD, UD>, out S : CRUDService<I, E, M, CM, UM, Mapper>> CRUDController(typeName: String, service: S, mapper: DTOMapper)(source)
Parameters
I
Id type of the data
E
Entity type of the data which is a CRUDEntity
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
Mapper
Mapper type of the data which is a CRUDMapper
DTOMapper
DTO mapper type of the data which is a CRUDDTOMapper
S
Service type of the data which is a CRUDService