new fields
This commit is contained in:
parent
550baf79e4
commit
40db13d562
|
@ -53,6 +53,12 @@ public class DbCommunity implements Serializable {
|
||||||
@Column(name = "shortname")
|
@Column(name = "shortname")
|
||||||
private String shortName;
|
private String shortName;
|
||||||
|
|
||||||
|
@Column(name = "displayname")
|
||||||
|
private String displayName;
|
||||||
|
|
||||||
|
@Column(name = "displayshortname")
|
||||||
|
private String displayShortName;
|
||||||
|
|
||||||
@Column(name = "description")
|
@Column(name = "description")
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
|
@ -143,6 +149,22 @@ public class DbCommunity implements Serializable {
|
||||||
this.shortName = shortName;
|
this.shortName = shortName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getDisplayName() {
|
||||||
|
return displayName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDisplayName(final String displayName) {
|
||||||
|
this.displayName = displayName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDisplayShortName() {
|
||||||
|
return displayShortName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDisplayShortName(final String displayShortName) {
|
||||||
|
this.displayShortName = displayShortName;
|
||||||
|
}
|
||||||
|
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,8 @@ CREATE TABLE communities (
|
||||||
id text PRIMARY KEY,
|
id text PRIMARY KEY,
|
||||||
name text NOT NULL,
|
name text NOT NULL,
|
||||||
shortname text NOT NULL, -- in the profile is label
|
shortname text NOT NULL, -- in the profile is label
|
||||||
|
displayname text,
|
||||||
|
displayshortname text,
|
||||||
description text NOT NULL DEFAULT '',
|
description text NOT NULL DEFAULT '',
|
||||||
status text NOT NULL DEFAULT 'hidden', -- all, manager, hidden, members
|
status text NOT NULL DEFAULT 'hidden', -- all, manager, hidden, members
|
||||||
membership text NOT NULL DEFAULT 'by-invitation', -- open, by-invitation
|
membership text NOT NULL DEFAULT 'by-invitation', -- open, by-invitation
|
||||||
|
|
Loading…
Reference in New Issue