aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Types
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-03-15 23:01:32 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-03-15 23:01:32 +0100
commit99005bce74288a415ac748414e0f8b522e207c93 (patch)
tree2aacb51f1ebbd58a687b176ed81dc240970db878 /src/Enmarcha.Backend/Types
parentc0e758b1e793159fc86c85916130f8959360c64e (diff)
feat: enhance arrival processing with shift badge retrieval and deletion flag
Diffstat (limited to 'src/Enmarcha.Backend/Types')
-rw-r--r--src/Enmarcha.Backend/Types/Arrivals/Arrival.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Enmarcha.Backend/Types/Arrivals/Arrival.cs b/src/Enmarcha.Backend/Types/Arrivals/Arrival.cs
index 9789d43..a07c988 100644
--- a/src/Enmarcha.Backend/Types/Arrivals/Arrival.cs
+++ b/src/Enmarcha.Backend/Types/Arrivals/Arrival.cs
@@ -26,11 +26,13 @@ public class Arrival
[JsonPropertyName("patternId")] public string? PatternId { get; set; }
- [System.Text.Json.Serialization.JsonIgnore]
+ [JsonIgnore]
public List<string> NextStops { get; set; } = [];
- [System.Text.Json.Serialization.JsonIgnore]
+ [JsonIgnore]
public object? RawOtpTrip { get; set; }
+
+ [JsonIgnore] public bool Delete { get; set; }
}
public class RouteInfo