namespace PS.IPAM;
using System;
using System.Collections.Generic;
///
/// Represents a VLAN in phpIPAM.
///
[Serializable]
public sealed record Vlan(
int Id,
int DomainId,
string Name,
int Number,
string Description,
DateTime? EditDate,
int CustomerId,
Dictionary? ExtendedData = null
)
{
///
/// Alias for Id to maintain API compatibility.
///
public int VlanId => Id;
public override string ToString() => Number.ToString();
}