18 lines
339 B
C#
18 lines
339 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace BotSharp.Plugin.SqlDriver.Models;
|
|
|
|
public class SqlParameter
|
|
{
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonPropertyName("value")]
|
|
public string Value { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{Name}: {Value}";
|
|
}
|
|
}
|