support client update properly and tidy up parameter names for client.
This commit is contained in:
@@ -1,104 +0,0 @@
|
||||
package org.mifosng.data.command;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.joda.time.LocalDate;
|
||||
|
||||
@XmlRootElement
|
||||
public class ClientCommand {
|
||||
|
||||
private Long id;
|
||||
private String firstname;
|
||||
private String lastname;
|
||||
private String fullname;
|
||||
private Long officeId;
|
||||
private String externalId;
|
||||
|
||||
private String dateFormat;
|
||||
private String joiningDateFormatted;
|
||||
private LocalDate joiningDate;
|
||||
|
||||
protected ClientCommand() {
|
||||
//
|
||||
}
|
||||
|
||||
public ClientCommand(final String firstname, final String lastname, String fullname, final Long officeId, final LocalDate joiningDate) {
|
||||
this.firstname = firstname;
|
||||
this.lastname = lastname;
|
||||
this.fullname = fullname;
|
||||
this.officeId = officeId;
|
||||
this.joiningDate = joiningDate;
|
||||
}
|
||||
|
||||
public String getFirstname() {
|
||||
return this.firstname;
|
||||
}
|
||||
|
||||
public void setFirstname(final String firstname) {
|
||||
this.firstname = firstname;
|
||||
}
|
||||
|
||||
public String getLastname() {
|
||||
return this.lastname;
|
||||
}
|
||||
|
||||
public void setLastname(final String lastname) {
|
||||
this.lastname = lastname;
|
||||
}
|
||||
|
||||
public Long getOfficeId() {
|
||||
return this.officeId;
|
||||
}
|
||||
|
||||
public void setOfficeId(final Long officeId) {
|
||||
this.officeId = officeId;
|
||||
}
|
||||
|
||||
public LocalDate getJoiningDate() {
|
||||
return this.joiningDate;
|
||||
}
|
||||
|
||||
public void setJoiningDate(final LocalDate joiningDate) {
|
||||
this.joiningDate = joiningDate;
|
||||
}
|
||||
|
||||
public String getExternalId() {
|
||||
return externalId;
|
||||
}
|
||||
|
||||
public void setExternalId(String externalId) {
|
||||
this.externalId = externalId;
|
||||
}
|
||||
|
||||
public String getFullname() {
|
||||
return fullname;
|
||||
}
|
||||
|
||||
public void setFullname(String fullname) {
|
||||
this.fullname = fullname;
|
||||
}
|
||||
|
||||
public String getDateFormat() {
|
||||
return dateFormat;
|
||||
}
|
||||
|
||||
public void setDateFormat(String dateFormat) {
|
||||
this.dateFormat = dateFormat;
|
||||
}
|
||||
|
||||
public String getJoiningDateFormatted() {
|
||||
return joiningDateFormatted;
|
||||
}
|
||||
|
||||
public void setJoiningDateFormatted(String joiningDateFormatted) {
|
||||
this.joiningDateFormatted = joiningDateFormatted;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package org.mifosng.data.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
@XmlRootElement
|
||||
public class ImportClientCommand {
|
||||
|
||||
private List<ClientCommand> clients = new ArrayList<ClientCommand>();
|
||||
|
||||
public ImportClientCommand() {
|
||||
//
|
||||
}
|
||||
|
||||
public List<ClientCommand> getClients() {
|
||||
return clients;
|
||||
}
|
||||
|
||||
public void setClients(List<ClientCommand> clients) {
|
||||
this.clients = clients;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user