mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-28 13:58:09 +02:00
33 lines
971 B
C#
33 lines
971 B
C#
|
namespace MTWireGuard.Application.Models.Mikrotik
|
|||
|
{
|
|||
|
public class WGServerViewModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
public string Name { get; set; }
|
|||
|
public bool IsEnabled { get; set; }
|
|||
|
public ushort ListenPort { get; set; }
|
|||
|
public ushort MTU { get; set; }
|
|||
|
public string PrivateKey { get; set; }
|
|||
|
public string PublicKey { get; set; }
|
|||
|
public bool Running { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public class ServerCreateModel
|
|||
|
{
|
|||
|
public string Name { get; set; }
|
|||
|
public bool Enabled { get; set; }
|
|||
|
public string ListenPort { get; set; }
|
|||
|
public string MTU { get; set; }
|
|||
|
public string PrivateKey { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public class ServerUpdateModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
public string Name { get; set; }
|
|||
|
public ushort ListenPort { get; set; }
|
|||
|
public ushort MTU { get; set; }
|
|||
|
public string PrivateKey { get; set; }
|
|||
|
}
|
|||
|
}
|