This commit is contained in:
Paul Schneider 2026-09-02 14:52:17 +01:00
commit da7e93a19a
14 changed files with 92 additions and 92 deletions

View file

@ -3,7 +3,7 @@ namespace Yavsc.Abstract.Workflow;
/// <summary>
/// Activity node returned by the browsing API.
/// </summary>
public sealed class ActivityBrowseItemDto
public sealed class ActivityInfo
{
public string Code { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
@ -12,6 +12,6 @@ public sealed class ActivityBrowseItemDto
public string Photo { get; set; } = string.Empty;
public int Rate { get; set; }
public int PerformerCount { get; set; }
public List<CommandFormSummaryDto> Forms { get; set; } = new();
public List<ActivityBrowseItemDto> Children { get; set; } = new();
public List<CommandFormSummary> Forms { get; set; } = new();
public List<ActivityInfo> Children { get; set; } = new();
}

View file

@ -3,7 +3,7 @@ namespace Yavsc.Abstract.Workflow;
/// <summary>
/// Lightweight command-form description exposed to API clients.
/// </summary>
public sealed class CommandFormSummaryDto
public sealed class CommandFormSummary
{
public long Id { get; set; }
public string ActionName { get; set; } = string.Empty;

View file

@ -3,7 +3,7 @@ namespace Yavsc.Abstract.Workflow;
/// <summary>
/// Lightweight performer description returned for one activity.
/// </summary>
public sealed class ActivityPerformerDto
public sealed class PerformerActivity
{
public string PerformerId { get; set; } = string.Empty;
public bool HasPerformerProfile { get; set; }