techgarage-ir.MTWireGuard/Models/Mikrotik/ServerTraffic.cs
2023-03-03 23:24:18 +03:30

24 lines
657 B
C#

using Newtonsoft.Json;
namespace MTWireGuard.Models.Mikrotik
{
public class ServerTraffic
{
public string Name { get; set; }
public string Type { get; set; }
[JsonProperty("tx-byte")]
public string TX { get; set; }
[JsonProperty("rx-byte")]
public string RX { get; set; }
}
public class ServerTrafficViewModel
{
public string Name { get; set; }
public string Type { get; set; }
public string Upload { get; set; }
public string Download { get; set; }
public long UploadBytes { get; set; }
public long DownloadBytes { get; set; }
}
}