package com.martsnew.domain.model;

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 Avatar implements Parcelable {
    public static final Parcelable.Creator<Avatar> CREATOR = new d(21);

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

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

    public Avatar(long j8, String str) {
        g.e(str, "path");
        this.f11004q = j8;
        this.f11005r = str;
    }

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

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Avatar)) {
            return false;
        }
        Avatar avatar = (Avatar) obj;
        return this.f11004q == avatar.f11004q && g.a(this.f11005r, avatar.f11005r);
    }

    public final int hashCode() {
        long j8 = this.f11004q;
        return this.f11005r.hashCode() + (((int) (j8 ^ (j8 >>> 32))) * 31);
    }

    public final String toString() {
        return "Avatar(id=" + this.f11004q + ", path=" + this.f11005r + ")";
    }

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