sk.iway.iwcm.components.gdpr.GdprDataDeletingEntity Maven / Gradle / Ivy
package sk.iway.iwcm.components.gdpr;
import javax.persistence.EntityListeners;
import sk.iway.iwcm.system.adminlog.EntityListenersType;
import sk.iway.iwcm.system.datatable.DataTableColumnType;
import sk.iway.iwcm.system.datatable.annotations.DataTableColumn;
@EntityListeners(sk.iway.iwcm.system.adminlog.AuditEntityListener.class)
@EntityListenersType(sk.iway.iwcm.Adminlog.TYPE_GDPR_DELETE)
public class GdprDataDeletingEntity {
@DataTableColumn(inputType = DataTableColumnType.ID, title = "components.gdpr.id")
private Long id;
@DataTableColumn(inputType = DataTableColumnType.OPEN_EDITOR, title = "components.gdpr.type")
private String type;
//statTime include value
@DataTableColumn(inputType = DataTableColumnType.NUMBER, title = "stat.time", hidden = true)
private Integer statTime;
//statTime is filled in RestController and is combination of statTime (integer value) and string value days/years
@DataTableColumn(inputType = DataTableColumnType.TEXT, title = "stat.time", hiddenEditor = true)
private String statTimeString;
@DataTableColumn(inputType = DataTableColumnType.NUMBER, title = "formslist.pocet_zaznamov", hiddenEditor = true)
private Integer recordCnt;
@DataTableColumn(inputType = DataTableColumnType.TEXT, title = "editor.form.action", hiddenEditor = true)
private String action;
public Long getId() {
return this.id;
}
public String getType() {
return this.type;
}
public Integer getStatTime() {
return this.statTime;
}
public String getStatTimeString() {
return this.statTimeString;
}
public Integer getRecordCnt() {
return this.recordCnt;
}
public String getAction() {
return this.action;
}
public void setId(final Long id) {
this.id = id;
}
public void setType(final String type) {
this.type = type;
}
public void setStatTime(final Integer statTime) {
this.statTime = statTime;
}
public void setStatTimeString(final String statTimeString) {
this.statTimeString = statTimeString;
}
public void setRecordCnt(final Integer recordCnt) {
this.recordCnt = recordCnt;
}
public void setAction(final String action) {
this.action = action;
}
}