Fixed subcontrollers
This commit is contained in:
25
classlib/class/nameserver.cs
Normal file
25
classlib/class/nameserver.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace PS.IPAM;
|
||||
using System;
|
||||
|
||||
[Serializable]
|
||||
public class Nameserver {
|
||||
public int Id { get; }
|
||||
public string Name { get; }
|
||||
public string[] NameSevers { get; }
|
||||
public string Permissions { get; }
|
||||
public DateTime? EditDate { get; }
|
||||
|
||||
public Nameserver(
|
||||
int id,
|
||||
string name,
|
||||
string nameServers,
|
||||
string permissions,
|
||||
DateTime? editDate
|
||||
) {
|
||||
this.Id = id;
|
||||
this.Name = name;
|
||||
this.NameSevers = nameServers.Split(';');
|
||||
this.Permissions = permissions;
|
||||
this.EditDate = editDate;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user