mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
added a way to display an announcement
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.commafeed.backend.model;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
@@ -32,6 +33,9 @@ public class ApplicationSettings extends AbstractModel {
|
||||
private String smtpUserName;
|
||||
private String smtpPassword;
|
||||
|
||||
@Column(length = 255)
|
||||
private String announcement;
|
||||
|
||||
public String getPublicUrl() {
|
||||
return publicUrl;
|
||||
}
|
||||
@@ -121,4 +125,12 @@ public class ApplicationSettings extends AbstractModel {
|
||||
this.googleAnalyticsTrackingCode = googleAnalyticsTrackingCode;
|
||||
}
|
||||
|
||||
public String getAnnouncement() {
|
||||
return announcement;
|
||||
}
|
||||
|
||||
public void setAnnouncement(String announcement) {
|
||||
this.announcement = announcement;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user