aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AlertsQuery.cs
blob: 9ae6553e764fc46122cbeedfb1501f3b4e88099b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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; }
        public bool AvoidDuplicates { get; set; }
        public String ChartType { get; set; } = String.Empty;
        public String ChartTitle { get; set; } = String.Empty;
        public String Instructions { get; set; } = String.Empty;

    }
}