mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 18:32:12 +00:00
22 lines
771 B
C#
22 lines
771 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Assistants.VisualBriefing;
|
|
|
|
/// <summary>
|
|
/// Connects one deterministic formula tree to a component result slot.
|
|
/// </summary>
|
|
[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
|
|
public sealed class VisualBriefingFormulaSpec
|
|
{
|
|
/// <summary>Gets or sets the owning component identifier.</summary>
|
|
[JsonRequired]
|
|
public string ComponentId { get; set; } = string.Empty;
|
|
|
|
/// <summary>Gets or sets the slot receiving the calculated result.</summary>
|
|
[JsonRequired]
|
|
public string OutputSlotId { get; set; } = string.Empty;
|
|
|
|
/// <summary>Gets or sets the bounded formula tree.</summary>
|
|
[JsonRequired]
|
|
public VisualBriefingFormulaNode Formula { get; set; } = new();
|
|
} |