Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/main/java/edu/tamu/app/model/FeatureProposal.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public class FeatureProposal extends AbstractIdea {
@Column(nullable = false)
private FeatureProposalState state;

@Column(nullable = false)
private Boolean isPublic;

public FeatureProposal() {
super();
this.modelValidator = new FeatureProposalValidator();
Expand Down Expand Up @@ -77,6 +80,7 @@ private void setup() {
this.ideas = new ArrayList<Idea>();
this.voters = new ArrayList<User>();
this.state = FeatureProposalState.IN_PROGRESS;
this.isPublic = true;
}

public List<Idea> getIdeas() {
Expand Down Expand Up @@ -138,4 +142,12 @@ public void setState(FeatureProposalState state) {
this.state = state;
}

public Boolean getIsPublic() {
return isPublic;
}

public void setIsPublic(Boolean isPublic) {
this.isPublic = isPublic;
}

}