package com.martsnew.domain.model;

import P6.g;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.material.datepicker.d;
import d5.AbstractC0844a;

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

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

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

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

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final boolean f11049t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public boolean f11050u;

    public Genre(long j8, String str, String str2, boolean z8, boolean z9) {
        g.e(str, "name");
        g.e(str2, "slug");
        this.f11046q = j8;
        this.f11047r = str;
        this.f11048s = str2;
        this.f11049t = z8;
        this.f11050u = z9;
    }

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

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Genre)) {
            return false;
        }
        Genre genre = (Genre) obj;
        return this.f11046q == genre.f11046q && g.a(this.f11047r, genre.f11047r) && g.a(this.f11048s, genre.f11048s) && this.f11049t == genre.f11049t && this.f11050u == genre.f11050u;
    }

    public final int hashCode() {
        long j8 = this.f11046q;
        return ((AbstractC0844a.g(AbstractC0844a.g(((int) (j8 ^ (j8 >>> 32))) * 31, 31, this.f11047r), 31, this.f11048s) + (this.f11049t ? 1231 : 1237)) * 31) + (this.f11050u ? 1231 : 1237);
    }

    public final String toString() {
        return "Genre(id=" + this.f11046q + ", name=" + this.f11047r + ", slug=" + this.f11048s + ", isPopular=" + this.f11049t + ", isSelected=" + this.f11050u + ")";
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        g.e(parcel, "dest");
        parcel.writeLong(this.f11046q);
        parcel.writeString(this.f11047r);
        parcel.writeString(this.f11048s);
        parcel.writeInt(this.f11049t ? 1 : 0);
        parcel.writeInt(this.f11050u ? 1 : 0);
    }
}
