This commit is contained in:
2022-12-05 15:29:03 +03:00
parent affbd18de2
commit c4b15d7387
12 changed files with 33 additions and 2 deletions

32
classlib/class/vlan.cs Normal file
View File

@@ -0,0 +1,32 @@
namespace PS.IPAM;
using System;
[Serializable]
public class Vlan {
public int Id { get; }
public int DomainId { get; }
public string Name { get; }
public int Number { get; }
public string Description { get; }
public DateTime? EditDate { get; }
public Vlan (
int id,
int domainId,
string name,
int number,
string description,
DateTime? editDate
) {
this.Id = id;
this.DomainId = domainId;
this.Name = name;
this.Number = number;
this.Description = description;
this.EditDate = editDate;
}
public override string ToString()
{
return $"{this.Number}";
}
}