BotSharp/src/Plugins/BotSharp.Plugin.SqlDriver/Models/SqlParameter.cs

18 lines
339 B
C#
Raw Normal View History

2024-02-19 22:55:41 +00:00
using System.Text.Json.Serialization;
namespace BotSharp.Plugin.SqlDriver.Models;
2024-02-21 23:15:54 +00:00
public class SqlParameter
2024-02-19 22:55:41 +00:00
{
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("value")]
public string Value { get; set; }
public override string ToString()
{
return $"{Name}: {Value}";
}
}