add state transitions around loan to api.

This commit is contained in:
Keith Woodlock
2012-05-16 22:02:04 +01:00
parent a006e60681
commit 8bc0b7461f
12 changed files with 229 additions and 450 deletions
@@ -11,6 +11,8 @@ import org.joda.time.LocalDate;
public class LoanStateTransitionCommand {
private Long loanId;
private String dateFormat;
private String eventDateFormatted;
private LocalDate eventDate;
private String comment;
@@ -48,4 +50,20 @@ public class LoanStateTransitionCommand {
public void setEventDate(LocalDate eventDate) {
this.eventDate = eventDate;
}
public String getDateFormat() {
return dateFormat;
}
public void setDateFormat(String dateFormat) {
this.dateFormat = dateFormat;
}
public String getEventDateFormatted() {
return eventDateFormatted;
}
public void setEventDateFormatted(String eventDateFormatted) {
this.eventDateFormatted = eventDateFormatted;
}
}