Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
package com.sistemasolton.itranvias.home.data.local.entity;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
/* JADX INFO: compiled from: BusEntity.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0087\b\u0018\u00002\u00020\u0001B\u0011\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J\t\u0010\b\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\t\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\n\u001a\u00020\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\r\u001a\u00020\u0003HÖ\u0001J\t\u0010\u000e\u001a\u00020\u000fHÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u0010"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/local/entity/BusEntity;", "", "_id", "", "<init>", "(I)V", "get_id", "()I", "component1", "copy", "equals", "", "other", "hashCode", "toString", "", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
public final /* data */ class BusEntity {
|
||||
public static final int $stable = 0;
|
||||
private final int _id;
|
||||
|
||||
public BusEntity() {
|
||||
this(0, 1, null);
|
||||
}
|
||||
|
||||
public static /* synthetic */ BusEntity copy$default(BusEntity busEntity, int i, int i2, Object obj) {
|
||||
if ((i2 & 1) != 0) {
|
||||
i = busEntity._id;
|
||||
}
|
||||
return busEntity.copy(i);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component1, reason: from getter */
|
||||
public final int get_id() {
|
||||
return this._id;
|
||||
}
|
||||
|
||||
public final BusEntity copy(int _id) {
|
||||
return new BusEntity(_id);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof BusEntity) && this._id == ((BusEntity) other)._id;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Integer.hashCode(this._id);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "BusEntity(_id=" + this._id + ")";
|
||||
}
|
||||
|
||||
public BusEntity(int i) {
|
||||
this._id = i;
|
||||
}
|
||||
|
||||
public /* synthetic */ BusEntity(int i, int i2, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i2 & 1) != 0 ? 0 : i);
|
||||
}
|
||||
|
||||
public final int get_id() {
|
||||
return this._id;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.sistemasolton.itranvias.home.data.local.entity;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* JADX INFO: compiled from: InfoEntity.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\n\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001B\u0019\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\u0006\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\u0003HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0005HÖ\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\u0014"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/local/entity/InfoEntity;", "", "id", "", "json", "", "<init>", "(ILjava/lang/String;)V", "getId", "()I", "getJson", "()Ljava/lang/String;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
public final /* data */ class InfoEntity {
|
||||
public static final int $stable = 0;
|
||||
private final int id;
|
||||
private final String json;
|
||||
|
||||
public static /* synthetic */ InfoEntity copy$default(InfoEntity infoEntity, int i, String str, int i2, Object obj) {
|
||||
if ((i2 & 1) != 0) {
|
||||
i = infoEntity.id;
|
||||
}
|
||||
if ((i2 & 2) != 0) {
|
||||
str = infoEntity.json;
|
||||
}
|
||||
return infoEntity.copy(i, str);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component1, reason: from getter */
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component2, reason: from getter */
|
||||
public final String getJson() {
|
||||
return this.json;
|
||||
}
|
||||
|
||||
public final InfoEntity copy(int id, String json) {
|
||||
Intrinsics.checkNotNullParameter(json, "json");
|
||||
return new InfoEntity(id, json);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof InfoEntity)) {
|
||||
return false;
|
||||
}
|
||||
InfoEntity infoEntity = (InfoEntity) other;
|
||||
return this.id == infoEntity.id && Intrinsics.areEqual(this.json, infoEntity.json);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (Integer.hashCode(this.id) * 31) + this.json.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "InfoEntity(id=" + this.id + ", json=" + this.json + ")";
|
||||
}
|
||||
|
||||
public InfoEntity(int i, String json) {
|
||||
Intrinsics.checkNotNullParameter(json, "json");
|
||||
this.id = i;
|
||||
this.json = json;
|
||||
}
|
||||
|
||||
public /* synthetic */ InfoEntity(int i, String str, int i2, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this((i2 & 1) != 0 ? 0 : i, str);
|
||||
}
|
||||
|
||||
public final int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public final String getJson() {
|
||||
return this.json;
|
||||
}
|
||||
}
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
package com.sistemasolton.itranvias.home.data.local.entity;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* JADX INFO: compiled from: LineFavoriteEntity.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\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J\t\u0010\b\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\t\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\n\u001a\u00020\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u0010"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/local/entity/LineFavoriteEntity;", "", "lineCode", "", "<init>", "(Ljava/lang/String;)V", "getLineCode", "()Ljava/lang/String;", "component1", "copy", "equals", "", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
public final /* data */ class LineFavoriteEntity {
|
||||
public static final int $stable = 0;
|
||||
private final String lineCode;
|
||||
|
||||
public static /* synthetic */ LineFavoriteEntity copy$default(LineFavoriteEntity lineFavoriteEntity, String str, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = lineFavoriteEntity.lineCode;
|
||||
}
|
||||
return lineFavoriteEntity.copy(str);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component1, reason: from getter */
|
||||
public final String getLineCode() {
|
||||
return this.lineCode;
|
||||
}
|
||||
|
||||
public final LineFavoriteEntity copy(String lineCode) {
|
||||
Intrinsics.checkNotNullParameter(lineCode, "lineCode");
|
||||
return new LineFavoriteEntity(lineCode);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof LineFavoriteEntity) && Intrinsics.areEqual(this.lineCode, ((LineFavoriteEntity) other).lineCode);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.lineCode.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "LineFavoriteEntity(lineCode=" + this.lineCode + ")";
|
||||
}
|
||||
|
||||
public LineFavoriteEntity(String lineCode) {
|
||||
Intrinsics.checkNotNullParameter(lineCode, "lineCode");
|
||||
this.lineCode = lineCode;
|
||||
}
|
||||
|
||||
public final String getLineCode() {
|
||||
return this.lineCode;
|
||||
}
|
||||
}
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
package com.sistemasolton.itranvias.home.data.local.entity;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* JADX INFO: compiled from: StopFavoriteEntity.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\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\u001b\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\u0004\b\u0005\u0010\u0006J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u000b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u001f\u0010\f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0010\u001a\u00020\u0011HÖ\u0001J\t\u0010\u0012\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\b¨\u0006\u0013"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/local/entity/StopFavoriteEntity;", "", "stopCode", "", "alias", "<init>", "(Ljava/lang/String;Ljava/lang/String;)V", "getStopCode", "()Ljava/lang/String;", "getAlias", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
public final /* data */ class StopFavoriteEntity {
|
||||
public static final int $stable = 0;
|
||||
private final String alias;
|
||||
private final String stopCode;
|
||||
|
||||
public static /* synthetic */ StopFavoriteEntity copy$default(StopFavoriteEntity stopFavoriteEntity, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = stopFavoriteEntity.stopCode;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = stopFavoriteEntity.alias;
|
||||
}
|
||||
return stopFavoriteEntity.copy(str, str2);
|
||||
}
|
||||
|
||||
/* 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 String getAlias() {
|
||||
return this.alias;
|
||||
}
|
||||
|
||||
public final StopFavoriteEntity copy(String stopCode, String alias) {
|
||||
Intrinsics.checkNotNullParameter(stopCode, "stopCode");
|
||||
return new StopFavoriteEntity(stopCode, alias);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof StopFavoriteEntity)) {
|
||||
return false;
|
||||
}
|
||||
StopFavoriteEntity stopFavoriteEntity = (StopFavoriteEntity) other;
|
||||
return Intrinsics.areEqual(this.stopCode, stopFavoriteEntity.stopCode) && Intrinsics.areEqual(this.alias, stopFavoriteEntity.alias);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int iHashCode = this.stopCode.hashCode() * 31;
|
||||
String str = this.alias;
|
||||
return iHashCode + (str == null ? 0 : str.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "StopFavoriteEntity(stopCode=" + this.stopCode + ", alias=" + this.alias + ")";
|
||||
}
|
||||
|
||||
public StopFavoriteEntity(String stopCode, String str) {
|
||||
Intrinsics.checkNotNullParameter(stopCode, "stopCode");
|
||||
this.stopCode = stopCode;
|
||||
this.alias = str;
|
||||
}
|
||||
|
||||
public /* synthetic */ StopFavoriteEntity(String str, String str2, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(str, (i & 2) != 0 ? null : str2);
|
||||
}
|
||||
|
||||
public final String getStopCode() {
|
||||
return this.stopCode;
|
||||
}
|
||||
|
||||
public final String getAlias() {
|
||||
return this.alias;
|
||||
}
|
||||
}
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user