Commit c6e93718 authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

Serialize AuditLog#createdBy as a sid name

parent 70b96026
......@@ -33,9 +33,11 @@ import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.genesys.blocks.auditlog.annotations.NotAudited;
import org.genesys.blocks.model.ClassPK;
import org.genesys.blocks.model.EmptyModel;
import org.genesys.blocks.util.JsonSidConverter;
import org.hibernate.annotations.Type;
......@@ -61,6 +63,7 @@ public class AuditLog extends EmptyModel {
/** The created by. */
@JsonSerialize(converter = JsonSidConverter.class)
private Long createdBy;
/** The log date. */
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