test @PrePersist and @PreUpdate
better rest api layout