32 lines
707 B
C#
32 lines
707 B
C#
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}";
|
|
}
|
|
} |