mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
tcloud compatibility, dotnet bug fixes
This commit is contained in:
@@ -1,12 +1,27 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace TrainSearchWorker.Models;
|
||||
|
||||
public record Journey
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public required string Id { get; init; }
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public required string Type { get; init; }
|
||||
|
||||
[JsonPropertyName("departure")]
|
||||
public required string Departure { get; init; }
|
||||
|
||||
[JsonPropertyName("arrival")]
|
||||
public required string Arrival { get; init; }
|
||||
|
||||
[JsonPropertyName("departure_time")]
|
||||
public required string DepartureTime { get; init; }
|
||||
|
||||
[JsonPropertyName("arrival_time")]
|
||||
public required string ArrivalTime { get; init; }
|
||||
|
||||
[JsonPropertyName("price")]
|
||||
public required decimal Price { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user