File tree Expand file tree Collapse file tree
src/main/java/edu/tamu/app/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ public class FeatureProposal extends AbstractIdea {
4646 @ Column (nullable = false )
4747 private FeatureProposalState state ;
4848
49+ @ Column (nullable = false )
50+ private Boolean isPublic ;
51+
4952 public FeatureProposal () {
5053 super ();
5154 this .modelValidator = new FeatureProposalValidator ();
@@ -77,6 +80,7 @@ private void setup() {
7780 this .ideas = new ArrayList <Idea >();
7881 this .voters = new ArrayList <User >();
7982 this .state = FeatureProposalState .IN_PROGRESS ;
83+ this .isPublic = true ;
8084 }
8185
8286 public List <Idea > getIdeas () {
@@ -138,4 +142,12 @@ public void setState(FeatureProposalState state) {
138142 this .state = state ;
139143 }
140144
145+ public Boolean getIsPublic () {
146+ return isPublic ;
147+ }
148+
149+ public void setIsPublic (Boolean isPublic ) {
150+ this .isPublic = isPublic ;
151+ }
152+
141153}
You can’t perform that action at this time.
0 commit comments