27 lines
548 B
C#
27 lines
548 B
C#
namespace PS.IPAM;
|
|
using System;
|
|
|
|
[Serializable]
|
|
public class Domain {
|
|
public int Id { get; }
|
|
public string Name { get; }
|
|
public string Description { get; }
|
|
public string Sections { get; }
|
|
|
|
public Domain (
|
|
int id,
|
|
string name,
|
|
string description,
|
|
string sections
|
|
) {
|
|
this.Id = id;
|
|
this.Name = name;
|
|
this.Description = description;
|
|
this.Sections = sections;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return this.Name;
|
|
}
|
|
} |