using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace Traffic.Data.ViewModels { public class TycgViewModel { [JsonPropertyName("Id")] public int Id { get; set; } [JsonPropertyName("Time")] public string Time { get; set; } [JsonPropertyName("Timestamp")] public Int64 Timestamp { get; set; } [JsonPropertyName("Trendflags")] public int Trendflags { get; set; } [JsonPropertyName("Status")] public int Status { get; set; } [JsonPropertyName("Value")] public string Value { get; set; } [JsonPropertyName("ip")] public string ip { get; set; } [JsonPropertyName("api")] public string api { get; set; } [JsonPropertyName("Trendflags_Tag")] public string Trendflags_Tag { get; set; } [JsonPropertyName("Status_tag")] public string Status_tag { get; set; } } public class TycgTableNameViewModel { [JsonPropertyName("Id")] public int Id { get; set; } [JsonPropertyName("LogName")] public string LogName { get; set; } [JsonPropertyName("APIName")] public string APIName { get; set; } } }