enums
This commit is contained in:
32
classlib/class/vrf.cs
Normal file
32
classlib/class/vrf.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user