@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Student student = (Student) o;

        if (age != student.age) return false;
        if (group != null ? !group.equals(student.group) : student.group != null) return false;
        if (name != null ? !name.equals(student.name) : student.name != null) return false;

        return true;
    }