Package dev.akif.crud

Interface CRUDCreateDTO<I extends Serializable,E extends CRUDEntity<I,E>,CM extends CRUDCreateModel<I,E>>

Type Parameters:
I - Id type of the data
E - Entity type of the data
CM - Create model type of the data
All Known Subinterfaces:
SimpleDTO<I,M,E>, SimplerModel<I,E,M>
All Known Implementing Classes:
SimplestEntity

public interface CRUDCreateDTO<I extends Serializable,E extends CRUDEntity<I,E>,CM extends CRUDCreateModel<I,E>>
Base DTO that contains required data to create a new entity
  • Method Summary

    Modifier and Type
    Method
    Description
    Mapper to convert this create DTO into a create model
  • Method Details

    • withFieldsToCreate

      CM withFieldsToCreate()
      Mapper to convert this create DTO into a create model
      Returns:
      Create model built from this create DTO