using System.Collections.Generic; namespace AI.Models.Form { /// /// 表单定义:Id、标题、提交目标、扁平字段列表 /// public class FormDefinition { /// 表单唯一标识 public string Id { get; set; } = string.Empty; /// 表单标题 public string Title { get; set; } = string.Empty; /// 提交后执行目标,如 AppActionType 名或 plugin:function public string SubmitTarget { get; set; } = string.Empty; /// 提交按钮文案 public string SubmitLabel { get; set; } = "提交"; /// 字段列表 public List Fields { get; set; } = new List(); } }