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

        AccessModifire that = (AccessModifire) o;

        if (idAccessModifire != that.idAccessModifire) return false;
        if (name != null ? !name.equals(that.name) : that.name != null)
            return false;

        return true;
    }