package com.martsnew.domain.model;

import I1.a;
import P6.g;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.material.datepicker.d;

/* JADX INFO: loaded from: classes.dex */
public final class Filter implements Parcelable {
    public static final Parcelable.Creator<Filter> CREATOR = new d(27);

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final String f11044q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final String f11045r;

    public Filter() {
        this("", "");
    }

    @Override // android.os.Parcelable
    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Filter)) {
            return false;
        }
        Filter filter = (Filter) obj;
        return g.a(this.f11044q, filter.f11044q) && g.a(this.f11045r, filter.f11045r);
    }

    public final int hashCode() {
        return this.f11045r.hashCode() + (this.f11044q.hashCode() * 31);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("Filter(id=");
        sb.append(this.f11044q);
        sb.append(", title=");
        return a.r(sb, this.f11045r, ")");
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        g.e(parcel, "dest");
        parcel.writeString(this.f11044q);
        parcel.writeString(this.f11045r);
    }

    public Filter(String str, String str2) {
        g.e(str, "id");
        g.e(str2, "title");
        this.f11044q = str;
        this.f11045r = str2;
    }
}
