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,32 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MTWireGuard.Application.Models.Mikrotik
{
public class IPPoolViewModel
{
public int Id { get; set; }
public string Name { get; set; }
public List<string> Ranges { get; set; }
public string NextPool { get; set; }
}
public class PoolCreateModel
{
public string Name { get; set; }
public string? Next { get; set; }
public string Ranges { get; set; }
}
public class PoolUpdateModel
{
public string Id { get; set; }
public string Name { get; set; }
public string? Next { get; set; }
public string Ranges { get; set; }
}
}