/** * ============================================================================= * * ORCID (R) Open Source * http://orcid.org * * Copyright (c) 2012-2014 ORCID, Inc. * Licensed under an MIT-Style License (MIT) * http://orcid.org/open-source-license * * This copyright and license information (including a link to the full license) * shall be included in its entirety in all copies or substantial portion of * the software. * * ============================================================================= */ package org.orcid.persistence.jpa.entities; import javax.persistence.Column; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; @Entity @DiscriminatorValue("CUSTOM") public class NotificationCustomEntity extends NotificationEntity { private static final long serialVersionUID = 1L; private String subject; private String bodyText; private String bodyHtml; private String lang; public String getSubject() { return subject; } public void setSubject(String subject) { this.subject = subject; } @Column(name = "body_text") public String getBodyText() { return bodyText; } public void setBodyText(String bodyText) { this.bodyText = bodyText; } @Column(name = "body_html") public String getBodyHtml() { return bodyHtml; } public void setBodyHtml(String bodyHtml) { this.bodyHtml = bodyHtml; } public String getLang() { return lang; } public void setLang(String lang) { this.lang = lang; } }