mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2025-12-19 18:06:53 +08:00
21 lines
596 B
C#
21 lines
596 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace FreeSql.Provider.QuestDb.Models
|
|
{
|
|
internal class RestApiExecResponseJsonBody
|
|
{
|
|
[JsonProperty("ddl")]
|
|
public string Ddl { get; set; }
|
|
|
|
[JsonProperty("dml")]
|
|
public string Dml { get; set; }
|
|
|
|
[JsonProperty("updated")]
|
|
public int Updated { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public bool IsSuccessful => string.Equals(Ddl, "ok", StringComparison.CurrentCultureIgnoreCase) ||
|
|
string.Equals(Dml, "ok", StringComparison.CurrentCultureIgnoreCase);
|
|
}
|
|
} |