add state transitions around loan to api.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user