public static PayrollAllocationEntity map()

in service/src/main/java/org/apache/fineract/cn/payroll/service/internal/mapper/PayrollAllocationMapper.java [38:44]


  public static PayrollAllocationEntity map(final PayrollAllocation payrollAllocation) {
    final PayrollAllocationEntity payrollAllocationEntity = new PayrollAllocationEntity();
    payrollAllocationEntity.setAccountNumber(payrollAllocation.getAccountNumber());
    payrollAllocationEntity.setAmount(payrollAllocation.getAmount());
    payrollAllocationEntity.setProportional(payrollAllocation.getProportional());
    return payrollAllocationEntity;
  }