using System.Text.Json.Serialization; namespace Yi.Framework.AiHub.Domain.Shared.Dtos.OpenAi; public record ThorBaseResponse { /// /// 对象类型 /// [JsonPropertyName("object")] public string? ObjectTypeName { get; set; } /// /// /// public bool Successful => Error == null; /// /// /// [JsonPropertyName("error")] public ThorError? Error { get; set; } }