Package dev.akif.crud
Interface CRUDUpdateDTO<I extends Serializable,E extends CRUDEntity<I,E>,UM extends CRUDUpdateModel<I,E>>
- Type Parameters:
I
- Id type of the dataE
- Entity type of the dataUM
- Update model type of the data
- All Known Subinterfaces:
SimpleDTO<I,
,M, E> SimplerModel<I,
E, M>
- All Known Implementing Classes:
SimplestEntity
public interface CRUDUpdateDTO<I extends Serializable,E extends CRUDEntity<I,E>,UM extends CRUDUpdateModel<I,E>>
Base DTO that contains required data to update an existing entity
-
Method Summary
Modifier and TypeMethodDescriptionMapper to convert this update DTO into a update model
-
Method Details
-
withFieldsToUpdate
UM withFieldsToUpdate()Mapper to convert this update DTO into a update model- Returns:
- Update model built from this update DTO
-