Update Models

This commit is contained in:
Tech Garage 2024-01-25 20:36:44 +03:30
parent 0dad0d1a04
commit c36204dbb9
27 changed files with 509 additions and 5 deletions

View file

@ -0,0 +1,25 @@
namespace MTWireGuard.Application.Models.Requests
{
public class CreateServerRequest
{
public string Name { get; set; }
public ushort Port { get; set; } = 13231;
public ushort MTU { get; set; } = 1420;
public string PrivateKey { get; set; }
public bool Enabled { get; set; }
public string IPAddress { get; set; }
public bool UseIPPool { get; set; }
public int IPPoolId { get; set; }
public bool InheritDNS { get; set; }
public string DNSAddress { get; set; }
}
}