191 lines
3.6 KiB
Java
191 lines
3.6 KiB
Java
package eu.eudat.migration.entities;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Table;
|
|
|
|
@Entity
|
|
@Table(name = "templates")
|
|
public class Template {
|
|
|
|
@Id
|
|
private Long id;
|
|
private String title;
|
|
private String description;
|
|
private String published;
|
|
@Column(name = "org_id")
|
|
private Long orgId;
|
|
private String locale;
|
|
@Column(name = "is_default")
|
|
private String isDefault;
|
|
@Column(name = "created_at")
|
|
private java.sql.Timestamp createdAt;
|
|
@Column(name = "updated_at")
|
|
private java.sql.Timestamp updatedAt;
|
|
private Long version;
|
|
private Long visibility;
|
|
@Column(name = "customization_of")
|
|
private Long customizationOf;
|
|
@Column(name = "family_id")
|
|
private Long familyId;
|
|
private String archived;
|
|
private String links;
|
|
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
|
|
public String getPublished() {
|
|
return published;
|
|
}
|
|
|
|
public void setPublished(String published) {
|
|
this.published = published;
|
|
}
|
|
|
|
|
|
public Long getOrgId() {
|
|
return orgId;
|
|
}
|
|
|
|
public void setOrgId(Long orgId) {
|
|
this.orgId = orgId;
|
|
}
|
|
|
|
|
|
public String getLocale() {
|
|
return locale;
|
|
}
|
|
|
|
public void setLocale(String locale) {
|
|
this.locale = locale;
|
|
}
|
|
|
|
|
|
public String getIsDefault() {
|
|
return isDefault;
|
|
}
|
|
|
|
public void setIsDefault(String isDefault) {
|
|
this.isDefault = isDefault;
|
|
}
|
|
|
|
|
|
public java.sql.Timestamp getCreatedAt() {
|
|
return createdAt;
|
|
}
|
|
|
|
public void setCreatedAt(java.sql.Timestamp createdAt) {
|
|
this.createdAt = createdAt;
|
|
}
|
|
|
|
|
|
public java.sql.Timestamp getUpdatedAt() {
|
|
return updatedAt;
|
|
}
|
|
|
|
public void setUpdatedAt(java.sql.Timestamp updatedAt) {
|
|
this.updatedAt = updatedAt;
|
|
}
|
|
|
|
|
|
public Long getVersion() {
|
|
return version;
|
|
}
|
|
|
|
public void setVersion(Long version) {
|
|
this.version = version;
|
|
}
|
|
|
|
|
|
public Long getVisibility() {
|
|
return visibility;
|
|
}
|
|
|
|
public void setVisibility(Long visibility) {
|
|
this.visibility = visibility;
|
|
}
|
|
|
|
|
|
public Long getCustomizationOf() {
|
|
return customizationOf;
|
|
}
|
|
|
|
public void setCustomizationOf(Long customizationOf) {
|
|
this.customizationOf = customizationOf;
|
|
}
|
|
|
|
|
|
public Long getFamilyId() {
|
|
return familyId;
|
|
}
|
|
|
|
public void setFamilyId(Long familyId) {
|
|
this.familyId = familyId;
|
|
}
|
|
|
|
|
|
public String getArchived() {
|
|
return archived;
|
|
}
|
|
|
|
public void setArchived(String archived) {
|
|
this.archived = archived;
|
|
}
|
|
|
|
|
|
public String getLinks() {
|
|
return links;
|
|
}
|
|
|
|
public void setLinks(String links) {
|
|
this.links = links;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Template{" +
|
|
"id=" + id +
|
|
", title='" + title + '\'' +
|
|
", description='" + description + '\'' +
|
|
", published='" + published + '\'' +
|
|
", orgId=" + orgId +
|
|
", locale='" + locale + '\'' +
|
|
", isDefault='" + isDefault + '\'' +
|
|
", createdAt=" + createdAt +
|
|
", updatedAt=" + updatedAt +
|
|
", version=" + version +
|
|
", visibility=" + visibility +
|
|
", customizationOf=" + customizationOf +
|
|
", familyId=" + familyId +
|
|
", archived='" + archived + '\'' +
|
|
", links='" + links + '\'' +
|
|
'}';
|
|
}
|
|
}
|