Skip to content

Commit

Permalink
feat(subscription): add a reason on accept and on request
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGeraud authored and GGui committed May 24, 2018
1 parent ac0246e commit b81918d
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ public class SubscriptionMongo extends Auditable {
private Date processedAt;

/**
* Give a reason to the developer if the subscription is not accepted.
* Give a request message to the api owner why a user want to subscribe
*/
private String request;

/**
* Give a reason to the developer if the subscription is accepted or not.
*/
private String reason;

Expand Down Expand Up @@ -126,6 +131,14 @@ public void setProcessedAt(Date processedAt) {
this.processedAt = processedAt;
}

public String getRequest() {
return request;
}

public void setRequest(String request) {
this.request = request;
}

public String getReason() {
return reason;
}
Expand Down

0 comments on commit b81918d

Please sign in to comment.