Change project to 3-Layer structure

This commit is contained in:
Tech Garage 2023-06-02 15:26:29 +03:30
parent 2f900a5036
commit 2d67540e13
1365 changed files with 760 additions and 618 deletions

View file

@ -0,0 +1,32 @@
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; }
}
}