initial commit
This commit is contained in:
+2
-2
@@ -87,14 +87,14 @@ public class Staff extends AbstractPersistable<Long> {
|
||||
}
|
||||
|
||||
private Staff(final Office staffOffice, final String firstname, final String lastname, final String externalId, final String mobileNo,
|
||||
final boolean isLoanOfficer, final boolean isActive) {
|
||||
final boolean isLoanOfficer, final Boolean isActive) {
|
||||
this.office = staffOffice;
|
||||
this.firstname = StringUtils.defaultIfEmpty(firstname, null);
|
||||
this.lastname = StringUtils.defaultIfEmpty(lastname, null);
|
||||
this.externalId = StringUtils.defaultIfEmpty(externalId, null);
|
||||
this.mobileNo = StringUtils.defaultIfEmpty(mobileNo, null);
|
||||
this.loanOfficer = isLoanOfficer;
|
||||
this.active = isActive;
|
||||
this.active = (isActive == null) ? false : isActive;
|
||||
deriveDisplayName(firstname);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user