namespace PS.IPAM; using System; [Serializable] public class Nameserver { public int Id { get; } public string Name { get; } public string[] NameServers { get; } public string Description { get; } public string Permissions { get; } public DateTime? EditDate { get; } public Nameserver( int id, string name, string nameServers, string description, string permissions, DateTime? editDate ) { this.Id = id; this.Name = name; this.NameServers = nameServers.Split(new char[] {';'}); this.Description = description; this.Permissions = permissions; this.EditDate = editDate; } }