01: // Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
02: // Released under the terms of the GNU General Public License version 2 or later.
03: package fitnesse.fixtures;
04:
05: public class PayCheckRecord {
06: public int employeeId;
07: public String date;
08: public String name;
09: private double salary;
10:
11: public PayCheckRecord(int employeeId, String date, String name,
12: double salary) {
13: this .employeeId = employeeId;
14: this .date = date;
15: this .name = name;
16: this .salary = salary;
17: }
18:
19: public double pay() {
20: return salary;
21: }
22: }
|