mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
19 lines
466 B
C#
19 lines
466 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace TrainSearchWorker.Models;
|
|
|
|
public record SearchTrainsRequest
|
|
{
|
|
[JsonPropertyName("origin")]
|
|
public required string From { get; init; }
|
|
|
|
[JsonPropertyName("destination")]
|
|
public required string To { get; init; }
|
|
|
|
[JsonPropertyName("outbound_time")]
|
|
public required string OutboundTime { get; init; }
|
|
|
|
[JsonPropertyName("return_time")]
|
|
public required string ReturnTime { get; init; }
|
|
}
|