EchoTex_Payroll/HRM.BO/OpenAI/OpenAIResponse.cs

27 lines
815 B
C#
Raw Permalink Normal View History

2026-07-12 18:07:59 +06:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HRM.BO
{
public class OpenAIResponse
{
public bool IsChart { get; set; } = false;
public string ChartType { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public string Sql { get; set; } = string.Empty;
public string Message { get; set; } = string.Empty;
}
public class OpenAIResponseWithData
{
public bool IsChart { get; set; } = false;
public string ChartType { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public List<string> Labels { get; set; } = new List<string>();
public List<double> Values { get; set; } = new List<double>();
public object TableData { get; set; } = new object();
}
}