BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/StateKeyValue.cs

29 lines
504 B
C#
Raw Normal View History

2023-09-09 21:44:25 +00:00
namespace BotSharp.Abstraction.Conversations.Models;
public class StateKeyValue
{
public string Key { get; set; }
2024-01-02 17:40:08 +00:00
public List<StateValue> Values { get; set; } = new List<StateValue>();
2023-09-09 21:44:25 +00:00
public StateKeyValue()
{
}
2024-01-02 17:40:08 +00:00
public StateKeyValue(string key, List<StateValue> values)
2023-09-09 21:44:25 +00:00
{
Key = key;
2024-01-02 17:40:08 +00:00
Values = values;
2023-09-09 21:44:25 +00:00
}
}
2024-01-02 17:40:08 +00:00
public class StateValue
{
public string Data { get; set; }
public DateTime UpdateTime { get; set; }
public StateValue()
{
}
}