using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XPrintServer.Business.Workflows.Configure
{
    /// <summary>
    /// ComfyUI信息类
    /// </summary>
    public class ComfyUIInfos
    {   
        /// <summary>
        /// 工作流基本信息
        /// </summary>
        public Workflow Workflow { get; set; } = null!;

        /// <summary>
        /// 输入文件保存的临时目录
        /// </summary>
        public string InputPath { get; set; } = string.Empty;
        /// <summary>
        /// 生成文件保存的临时目录
        /// </summary>
        public string SaveTempPath { get; set; } = string.Empty;

        /// <summary>
        /// Api地址
        /// </summary>
        public string ApiBaseUrl { get; set; } = string.Empty;
    }

    /// <summary>
    /// 工作流信息类
    /// </summary>
    public class Workflow
    {
        /// <summary>
        /// 工作流保存目录
        /// </summary>
        public string WorkflowFolder { get; set; } = string.Empty;

        /// <summary>
        /// 千问工作流文件名
        /// </summary>
        public string QwenImageFileName { get; set; } = string.Empty;

        /// <summary>
        /// 分割图片（抠图）工作流文件名
        /// </summary>
        public string SplitImageFileName { get; set; } = string.Empty;
    }
}
