in service/src/main/java/org/apache/fineract/cn/teller/service/internal/mapper/TellerMapper.java [31:56]
public static Teller map(final TellerEntity tellerEntity) {
final Teller teller = new Teller();
teller.setCode(tellerEntity.getIdentifier());
teller.setTellerAccountIdentifier(tellerEntity.getTellerAccountIdentifier());
teller.setVaultAccountIdentifier(tellerEntity.getVaultAccountIdentifier());
teller.setCashdrawLimit(tellerEntity.getCashdrawLimit());
teller.setAssignedEmployee(tellerEntity.getAssignedEmployeeIdentifier());
teller.setChequesReceivableAccount(tellerEntity.getChequesReceivableAccount());
teller.setCashOverShortAccount(tellerEntity.getCashOverShortAccount());
teller.setDenominationRequired(tellerEntity.getDenominationRequired());
teller.setState(tellerEntity.getState());
if (tellerEntity.getCreatedBy() != null) {
teller.setCreatedBy(tellerEntity.getCreatedBy());
teller.setCreatedOn(DateConverter.toIsoString(tellerEntity.getCreatedOn()));
}
if (tellerEntity.getLastModifiedBy() != null) {
teller.setLastModifiedBy(tellerEntity.getLastModifiedBy());
teller.setLastModifiedOn(DateConverter.toIsoString(tellerEntity.getLastModifiedOn()));
}
if (tellerEntity.getLastOpenedBy() != null) {
teller.setLastOpenedBy(tellerEntity.getLastOpenedBy());
teller.setLastOpenedOn(DateConverter.toIsoString(tellerEntity.getLastOpenedOn()));
}
return teller;
}