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

        ModelModel that = (ModelModel) o;

        if (idModel != that.idModel) return false;
        if (model != null ? !model.equals(that.model) : that.model != null) return false;

        return true;
    }