mirror of
https://github.com/8damon/Blackbird-Platform
synced 2026-06-21 13:41:12 +00:00
11 lines
429 B
C#
11 lines
429 B
C#
namespace BlackbirdOperator.Models;
|
|
|
|
public sealed class OperatorAdapterOption
|
|
{
|
|
public string InterfaceId { get; init; } = string.Empty;
|
|
public string Name { get; init; } = string.Empty;
|
|
public string Address { get; init; } = string.Empty;
|
|
public string Prefix { get; init; } = string.Empty;
|
|
public string Summary => string.IsNullOrWhiteSpace(Name) ? $"{Address}/{Prefix}" : $"{Name} {Address}/{Prefix}";
|
|
}
|