public class Department{
    private int did;
    private String dname;
    public int getDid(){
        return this.did;
    }
    public String getDname(){
        return this.dname;
    }
    public void setDid(int did){
        this.did=did;
    }
    public void setDname(String dname){
        this.dname=dname;
    }
}