Commit 029882be authored by 9731087's avatar 9731087

second commit

parent e998ec9e
Pipeline #576 failed with stages
import java.util.ArrayList; import java.util.ArrayList;
public class Employee { public class AbstarctEmployee {
protected ArrayList<Payroll> payrolls; protected ArrayList<Payroll> payrolls;
protected int defPay; protected int defPay;
...@@ -10,4 +10,12 @@ public class Employee { ...@@ -10,4 +10,12 @@ public class Employee {
public ArrayList<Payroll> getPayrolls() { public ArrayList<Payroll> getPayrolls() {
return this.payrolls; return this.payrolls;
} }
public int getDefPay() {
return defPay;
}
public int incomeCalculate(){
}
} }
public class Course { public class Course {
private String title;
private String description;
public String getTitle() {
return title;
}
public String getDescription() {
return description;
}
} }
import java.util.ArrayList;
public class Department { public class Department {
private ArrayList<Course> courses;
private String name;
public String getName() {
return name;
}
public ArrayList<Course> getCourses() {
return courses;
}
} }
public class Essay { public class Essay {
private String title;
private int modYear;
public String getTitle() {
return title;
}
public int getModYear() {
return modYear;
}
} }
import java.util.ArrayList;
public class Master { public class Master {
private Essay[] essays; private ArrayList<Essay> essays;
public ArrayList<Essay> getEssays() {
return essays;
}
} }
public class Payroll { public class Payroll {
private int id;
private int income;
private int date;
private Person owner;
public int getIncome() {
return income;
}
public int getId() {
return id;
}
public int getDate() {
return date;
}
public Person getOwner() {
return owner;
}
} }
import java.util.ArrayList;
public class Student { public class Student {
protected Course[] courses; protected ArrayList<Course> courses;
public Course[] getCourses() { public ArrayList<Course> getCourses() {
return courses; return courses;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment