Commit f8c0d480 authored by 9731050's avatar 9731050

second

parent f2ac5501
Pipeline #580 canceled with stages
import org.university.core.Employee;
public class Statement {
private double amount;
private Employee reciever;
public Statement(double amount, Employee reciever) {
this.amount = amount;
this.reciever = reciever;
}
}
...@@ -6,14 +6,14 @@ public class Course { ...@@ -6,14 +6,14 @@ public class Course {
private String name; private String name;
private Professor instructor; private Professor instructor;
private ArrayList<Student> students = new ArrayList<Student>(); private ArrayList<Student> students = new ArrayList<Student>();
private GraduateStudent teacherAssistance; private GradStudent teacherAssistance;
public GraduateStudent getTeacherAssistance() { public GradStudent getTeacherAssistance() {
return teacherAssistance; return teacherAssistance;
} }
public void setTeacherAssistance(GraduateStudent teacherAssistance) { public void setTeacherAssistance(GradStudent teacherAssistance) {
this.teacherAssistance = teacherAssistance; this.teacherAssistance = teacherAssistance;
} }
......
package org.university.core; package org.university.core;
import java.sql.Statement;
import java.util.ArrayList; import java.util.ArrayList;
public class Employee extends Person { public class Employee extends Person {
......
...@@ -21,5 +21,8 @@ public class Professor extends Employee{ ...@@ -21,5 +21,8 @@ public class Professor extends Employee{
public void addCourse(Course c){ public void addCourse(Course c){
courses.add(c); courses.add(c);
} }
public double getCurrentIncome(){
}
} }
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