This commit is contained in:
@@ -15,10 +15,7 @@ namespace AyaNova.Models
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
[Required]
|
||||
public long UserId { get; set; }
|
||||
public AyaType? AyaType { get; set; }//Note: could be Global meaning any corebiz object would be included if relevant (e.g. ObjectCreated)
|
||||
[Required]
|
||||
public NotifyEventType EventType { get; set; }
|
||||
public long UserId { get; set; }
|
||||
public TimeSpan? AdvanceNotice { get; set; } //Note: I've been doing nullable wrong sort of: https://stackoverflow.com/a/29149207/8939
|
||||
public long? IdValue { get; set; }
|
||||
public decimal? DecValue { get; set; }
|
||||
@@ -27,13 +24,18 @@ namespace AyaNova.Models
|
||||
public NotifyDeliveryMethod DeliveryMethod { get; set; }
|
||||
public string DeliveryAddress { get; set; }
|
||||
public long? AttachReportId { get; set; }
|
||||
public List<string> InTags { get; set; }
|
||||
public List<string> OutTags { get; set; }
|
||||
|
||||
|
||||
//CONDITIONS - Following fields are all conditions set on whether to notify or not
|
||||
public AyaType AyaType { get; set; }//Note: must be specific object, not global for any object related stuff to avoid many role issues and also potential overload
|
||||
[Required]
|
||||
public NotifyEventType EventType { get; set; }
|
||||
public List<string> Tags { get; set; }//Tags to filter an event, object *must* have these tags to generate event related to it (AT TIME OF UPDATE)
|
||||
|
||||
public NotifySubscription()
|
||||
{
|
||||
InTags = new List<string>();
|
||||
OutTags = new List<string>();
|
||||
Tags = new List<string>();
|
||||
AyaType= AyaType.NoType;
|
||||
}
|
||||
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user