diff options
| author | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-09-08 16:30:09 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-09-08 16:30:09 +0300 |
| commit | b9dc6c1c5a3e0db00342291e39c6ae734a64c4c6 (patch) | |
| tree | 2ee683569fa0fa9168888896e34cdf29ad8bfc6b /Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models | |
| parent | d4a3a526d4d4665ed1a1645463d1262138b1f460 (diff) | |
| download | Tango-b9dc6c1c5a3e0db00342291e39c6ae734a64c4c6.tar.gz Tango-b9dc6c1c5a3e0db00342291e39c6ae734a64c4c6.zip | |
Alerts Worker.
Diffstat (limited to 'Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models')
| -rw-r--r-- | Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AlertsQuery.cs | 20 | ||||
| -rw-r--r-- | Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs | 7 |
2 files changed, 27 insertions, 0 deletions
diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AlertsQuery.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AlertsQuery.cs new file mode 100644 index 000000000..9ab787104 --- /dev/null +++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AlertsQuery.cs @@ -0,0 +1,20 @@ +using Azure; +using Azure.Data.Tables; + +namespace Tango.Portal.Chat.Web.Models +{ + public sealed class AlertsQuery : ITableEntity + { + public string PartitionKey { get; set; } = "Queries"; + public string RowKey { get; set; } = string.Empty; + public DateTimeOffset? Timestamp { get; set; } + public ETag ETag { get; set; } + + public string Name { get; set; } = string.Empty; + public string Type { get; set; } = string.Empty; + public string Query { get; set; } = string.Empty; + public int IntervalMinutes { get; set; } + public bool Enable { get; set; } + public DateTime ExecutesOn { get; set; } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs index 9ae05da3d..556bc59ba 100644 --- a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs +++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs @@ -40,4 +40,11 @@ namespace Tango.Portal.Chat.Web.Services { public string ConnectionString { get; set; } = string.Empty; } + + public sealed class N8NOptions + { + public string URL { get; set; } = string.Empty; + public string User { get; set; } = string.Empty; + public string Password { get; set; } = string.Empty; + } } |
