Class SimplestController<I extends Serializable,E extends SimplestEntity<I,E>,R extends SimplestRepository<I,E>,S extends SimplestService<I,E,R>>

java.lang.Object
dev.akif.crud.CRUDController<I,E,E,E,E,E,E,E,R,S>
dev.akif.crud.simplest.SimplestController<I,E,R,S>
Type Parameters:
I - Id type of the data
E - Entity type of the data which is a SimplestEntity
R - Repository type of the data which is a SimplestRepository
S - Service type of the data which is a SimplestService

public abstract class SimplestController<I extends Serializable,E extends SimplestEntity<I,E>,R extends SimplestRepository<I,E>,S extends SimplestService<I,E,R>> extends CRUDController<I,E,E,E,E,E,E,E,R,S>
The simplest variant of CRUDController where the only data model is the entity

This variant is only recommended for very simple data models. Whenever possible, try and use one of the other variants.

This is meant to be extended from a @RestController class, ideally also with a @RequestMapping with some path prefix for the endpoints.