class Note extends Referenceable {

    @Override
    public boolean equals(Object objectToCompare)
    {
        if (this == objectToCompare)
        {
            return true;
        }
        if (!(objectToCompare instanceof Note))
        {
            return false;
        }
        if (!super.equals(objectToCompare))
        {
            return false;
        }
        Note note = (Note) objectToCompare;
        return Objects.equals(getText(), note.getText()) &&
                Objects.equals(getLastUpdate(), note.getLastUpdate()) &&
                Objects.equals(getUser(), note.getUser());
    }

    public  Note();
    public  Note(Note templateNote);

}