super(columns);
}
@Override
public Object getValueAt(int row, int col) {
EmployeePayment payment = (EmployeePayment) dbObjects.get(row);
switch (col) {
case 0:
return payment.getId();
case 1:
return payment.getName();
case 2:
return payment.getType();
case 3:
return payment.getAmount();
case 4:
return payment.getNotes();
default:
return null;
}
}