Commit 4d0de99f authored by Matija Obreza's avatar Matija Obreza

createdDate, lastModifiedDate marked with Public JsonView

parent ab895bc6
......@@ -53,7 +53,7 @@ public abstract class AuditedVersionedModel extends VersionedModel {
private Long createdBy;
/** The created date. */
@JsonView(JsonViews.Protected.class)
@JsonView(JsonViews.Public.class)
@CreatedDate
@Column(name = "createdDate", updatable = false)
private Date createdDate;
......@@ -67,7 +67,7 @@ public abstract class AuditedVersionedModel extends VersionedModel {
private Long lastModifiedBy;
/** The last modified date. */
@JsonView(JsonViews.Protected.class)
@JsonView(JsonViews.Public.class)
@LastModifiedDate
@Column(name = "lastModifiedDate")
private Date lastModifiedDate;
......
......@@ -53,7 +53,7 @@ public abstract class AuditedVersionedModelWithoutId extends VersionedModelWitho
private Long createdBy;
/** The created date. */
@JsonView(JsonViews.Protected.class)
@JsonView(JsonViews.Public.class)
@CreatedDate
@Column(name = "createdDate", updatable = false)
private Date createdDate;
......@@ -67,7 +67,7 @@ public abstract class AuditedVersionedModelWithoutId extends VersionedModelWitho
private Long lastModifiedBy;
/** The last modified date. */
@JsonView(JsonViews.Protected.class)
@JsonView(JsonViews.Public.class)
@LastModifiedDate
@Column(name = "lastModifiedDate")
private Date lastModifiedDate;
......
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