This commit is contained in:
@@ -24,12 +24,14 @@ namespace AyaNova.Models
|
||||
public long CustomerId { get; set; }
|
||||
[Required]
|
||||
public long CustomerNotifySubscriptionId { get; set; }//source subscription that triggered this event to be created
|
||||
|
||||
|
||||
public decimal DecValue { get; set; }
|
||||
|
||||
//date of the event actually occuring, e.g. WarrantyExpiry date. Compared with subscription to determine if deliverable or not
|
||||
public DateTime EventDate { get; set; }
|
||||
public string Message { get; set; }
|
||||
public string Subject { get; set; }//email subject line
|
||||
public string Message { get; set; }//email body
|
||||
|
||||
|
||||
|
||||
public CustomerNotifyEvent()
|
||||
@@ -48,8 +50,8 @@ namespace AyaNova.Models
|
||||
}
|
||||
|
||||
//linked entity
|
||||
// public NotifySubscription NotifySubscription { get; set; }
|
||||
// public User User { get; set; }
|
||||
// public NotifySubscription NotifySubscription { get; set; }
|
||||
// public User User { get; set; }
|
||||
|
||||
}//eoc
|
||||
|
||||
|
||||
@@ -38,6 +38,10 @@ namespace AyaNova.Models
|
||||
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)
|
||||
[Required]
|
||||
public string Template { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Subject { get; set; }
|
||||
|
||||
|
||||
//DELIVERY CONDITIONS - following are all conditions on *whether* to deliver the existing notify event or not
|
||||
public TimeSpan AgeValue { get; set; }//for events that depend on an age of something (e.g. WorkorderStatusAge), This value determines when event has "come of age" but advancenotice controls how far in advance of this delivery is made
|
||||
|
||||
Reference in New Issue
Block a user