BotSharp/src/Infrastructure/BotSharp.Abstraction/Routing/Models/RoutingRule.cs

28 lines
499 B
C#
Raw Normal View History

2023-09-18 18:13:49 +00:00
namespace BotSharp.Abstraction.Routing.Models;
public class RoutingRule
{
[JsonIgnore]
public string AgentId { get; set; }
[JsonIgnore]
public string AgentName { get; set; }
public string Field { get; set; }
2023-09-26 03:04:04 +00:00
public string Description { get; set; }
2023-09-18 18:13:49 +00:00
public bool Required { get; set; }
public string? RedirectTo { get; set; }
public override string ToString()
{
return $"{AgentName} {Field}";
}
2023-09-18 23:14:24 +00:00
public RoutingRule()
{
}
2023-09-18 18:13:49 +00:00
}