package org.university.core;
public class Account {
private AbstractEmployee owner;
private double credit;
public Account(AbstractEmployee owner , double credit){
this.credit = credit;
this.owner = owner;
}
public AbstractEmployee getOwner() {
return owner;
}
public double getCredit() {
return credit;
}
public void setCredit(double credit) {
this.credit = credit;
}
public void setOwner(AbstractEmployee owner) {
this.owner = owner;
}
}
-
Ali Shakoori authoreda0763f47