mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-28 05:53:50 +02:00
Add project files.
This commit is contained in:
commit
b2325a46ef
1351 changed files with 48136 additions and 0 deletions
25
Models/Mikrotik/ActiveUser.cs
Normal file
25
Models/Mikrotik/ActiveUser.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue