18 lines
580 B
C#
18 lines
580 B
C#
|
|
namespace OTSSignsOrchestrator.Core.Models.DTOs;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Represents an Authentik flow for display in the Settings UI.
|
||
|
|
/// </summary>
|
||
|
|
public class AuthentikFlowItem
|
||
|
|
{
|
||
|
|
public string Pk { get; set; } = string.Empty;
|
||
|
|
public string Slug { get; set; } = string.Empty;
|
||
|
|
public string Name { get; set; } = string.Empty;
|
||
|
|
public string Designation { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
/// <summary>Display text for ComboBox: "slug — Name".</summary>
|
||
|
|
public string DisplayText => $"{Slug} — {Name}";
|
||
|
|
|
||
|
|
public override string ToString() => DisplayText;
|
||
|
|
}
|