mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-18 00:18:17 +02:00
25 lines
680 B
C#
25 lines
680 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace MTWireGuard.Models.Mikrotik
|
|
{
|
|
public class ActiveUser
|
|
{
|
|
[JsonProperty(".id")]
|
|
public string Id { get; set; }
|
|
public string Group { get; set; }
|
|
public string Name { get; set; }
|
|
public bool Radius { get; set; }
|
|
public string Via { get; set; }
|
|
public string When { get; set; }
|
|
}
|
|
|
|
public class ActiveUserViewModel
|
|
{
|
|
public short Id { get; set; }
|
|
public string Group { get; set; }
|
|
public string Name { get; set; }
|
|
public bool Radius { get; set; }
|
|
public string Via { get; set; }
|
|
public string LoggedIn { get; set; }
|
|
}
|
|
}
|