Commit 6b6d1ad0 authored by Matija Obreza's avatar Matija Obreza

ActivityPost, Article and Organization are auditable

parent 6d12d82d
......@@ -25,7 +25,7 @@ import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.genesys2.server.model.BusinessModel;
import org.genesys2.server.model.AuditedModel;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.search.annotations.Store;
......@@ -33,7 +33,7 @@ import org.hibernate.search.annotations.Store;
@Entity
@Table(name = "activitypost")
@Indexed
public class ActivityPost extends BusinessModel {
public class ActivityPost extends AuditedModel {
private static final long serialVersionUID = 8690395020204070378L;
......
......@@ -27,7 +27,7 @@ import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.genesys2.server.model.BusinessModel;
import org.genesys2.server.model.AuditedModel;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.search.annotations.Store;
......@@ -35,7 +35,7 @@ import org.hibernate.search.annotations.Store;
@Entity
@Table(name = "article")
@Indexed
public class Article extends BusinessModel {
public class Article extends AuditedModel {
private static final long serialVersionUID = 8690395020204070378L;
......
......@@ -30,7 +30,7 @@ import javax.persistence.ManyToMany;
import javax.persistence.OrderBy;
import javax.persistence.Table;
import org.genesys2.server.model.BusinessModel;
import org.genesys2.server.model.AuditedModel;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.search.annotations.Store;
......@@ -38,7 +38,7 @@ import org.hibernate.search.annotations.Store;
@Entity
@Table(name = "organization")
@Indexed
public class Organization extends BusinessModel {
public class Organization extends AuditedModel {
private static final long serialVersionUID = 2710908645431936666L;
......
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