namespace Managing.Domain.Synth.Models; /// /// Represents a price at a specific time within a simulated path /// public class PricePoint { public decimal Price { get; set; } public string Time { get; set; } /// /// Converts the Time string to DateTime for easier manipulation /// public DateTime GetDateTime() { return DateTime.TryParse(Time, out var dateTime) ? dateTime : DateTime.MinValue; } }