28 lines
510 B
C#
28 lines
510 B
C#
namespace PS.IPAM;
|
|
|
|
using System;
|
|
|
|
/// <summary>
|
|
/// Represents a section in phpIPAM that organizes subnets.
|
|
/// </summary>
|
|
[Serializable]
|
|
public sealed record Section(
|
|
int Id,
|
|
string Name,
|
|
string Description,
|
|
int MasterSectionId,
|
|
string Permissions,
|
|
bool StrictMode,
|
|
string SubnetOrdering,
|
|
int Order,
|
|
DateTime? EditDate,
|
|
bool ShowSubnet,
|
|
bool ShowVlan,
|
|
bool ShowVRF,
|
|
bool ShowSupernetOnly,
|
|
int DNSId
|
|
)
|
|
{
|
|
public override string ToString() => Name;
|
|
}
|