package com.sistemasolton.itranvias.home.data.local.entity;

import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.datetime.Clock;

/* JADX INFO: compiled from: StopHistoryEntity.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0002\b\n\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0019\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005¢\u0006\u0004\b\u0006\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\t\u0010\r\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\t\u0010\u0014\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0015"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/local/entity/StopHistoryEntity;", "", "stopCode", "", "timestamp", "", "<init>", "(Ljava/lang/String;J)V", "getStopCode", "()Ljava/lang/String;", "getTimestamp", "()J", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final /* data */ class StopHistoryEntity {
    public static final int $stable = 0;
    private final String stopCode;
    private final long timestamp;

    public static /* synthetic */ StopHistoryEntity copy$default(StopHistoryEntity stopHistoryEntity, String str, long j, int i, Object obj) {
        if ((i & 1) != 0) {
            str = stopHistoryEntity.stopCode;
        }
        if ((i & 2) != 0) {
            j = stopHistoryEntity.timestamp;
        }
        return stopHistoryEntity.copy(str, j);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final String getStopCode() {
        return this.stopCode;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final long getTimestamp() {
        return this.timestamp;
    }

    public final StopHistoryEntity copy(String stopCode, long timestamp) {
        Intrinsics.checkNotNullParameter(stopCode, "stopCode");
        return new StopHistoryEntity(stopCode, timestamp);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof StopHistoryEntity)) {
            return false;
        }
        StopHistoryEntity stopHistoryEntity = (StopHistoryEntity) other;
        return Intrinsics.areEqual(this.stopCode, stopHistoryEntity.stopCode) && this.timestamp == stopHistoryEntity.timestamp;
    }

    public int hashCode() {
        return (this.stopCode.hashCode() * 31) + Long.hashCode(this.timestamp);
    }

    public String toString() {
        return "StopHistoryEntity(stopCode=" + this.stopCode + ", timestamp=" + this.timestamp + ")";
    }

    public StopHistoryEntity(String stopCode, long j) {
        Intrinsics.checkNotNullParameter(stopCode, "stopCode");
        this.stopCode = stopCode;
        this.timestamp = j;
    }

    public final String getStopCode() {
        return this.stopCode;
    }

    public /* synthetic */ StopHistoryEntity(String str, long j, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this(str, (i & 2) != 0 ? Clock.System.INSTANCE.now().toEpochMilliseconds() : j);
    }

    public final long getTimestamp() {
        return this.timestamp;
    }
}