32 lines
725 B
C#
32 lines
725 B
C#
namespace PS.IPAM;
|
|
using System;
|
|
|
|
[Serializable]
|
|
public class Vrf {
|
|
public int Id { get; }
|
|
public string Name { get; }
|
|
public string RouteDistinguisher { get; }
|
|
public string Description { get; }
|
|
public string Sections { get; }
|
|
public DateTime? EditDate { get; }
|
|
|
|
public Vrf(
|
|
int id,
|
|
string name,
|
|
string rd,
|
|
string description,
|
|
string sections,
|
|
DateTime? editDate
|
|
) {
|
|
this.Id = id;
|
|
this.Name = name;
|
|
this.RouteDistinguisher = rd;
|
|
this.Description = description;
|
|
this.Sections = sections;
|
|
this.EditDate = editDate;
|
|
}
|
|
public override string ToString()
|
|
{
|
|
return this.Name;
|
|
}
|
|
} |