Commit b38eb766 authored by Maxym Borodenko's avatar Maxym Borodenko

Updated UuidModel class

parent 2791bd60
......@@ -21,10 +21,14 @@ import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.PrePersist;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
/**
* The Class UuidEntity.
*/
@MappedSuperclass
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "uuid")
public abstract class UuidModel extends AuditedVersionedModel implements IdUUID {
/** The Constant serialVersionUID. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment