This commit is contained in:
@@ -19,7 +19,7 @@ namespace AyaNova.Models
|
||||
public AyaType AyaType { get; set; }
|
||||
public long ObjectId { get; set; }
|
||||
[Required]
|
||||
public string Name {get;set;}//object name or closest equivalent for display
|
||||
public string Name { get; set; }//object name or closest equivalent for display
|
||||
[Required]
|
||||
public NotifyEventType EventType { get; set; }
|
||||
[Required]
|
||||
@@ -31,10 +31,10 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public decimal DecValue { get; set; }
|
||||
|
||||
// [Required]// public TimeSpan AgeValue { get; set; }
|
||||
// [Required]// public TimeSpan AgeValue { 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 DateTime EventDate { get; set; }
|
||||
//NO: Delivery code consults subscription instead of this
|
||||
// public DateTime? DeliverDate { get; set; }//date user wants the event notification delivered, usually same as event date but could be set earlier if Advance setting in effect. This is the date consulted for delivery only.
|
||||
public string Message { get; set; }
|
||||
@@ -42,13 +42,13 @@ namespace AyaNova.Models
|
||||
|
||||
public NotifyEvent()
|
||||
{
|
||||
Created = DateTime.UtcNow;
|
||||
Created = EventDate = DateTime.UtcNow;
|
||||
IdValue = 0;
|
||||
DecValue = 0;
|
||||
// AgeValue = TimeSpan.Zero;
|
||||
// AgeValue = TimeSpan.Zero;
|
||||
AyaType = AyaType.NoType;
|
||||
ObjectId = 0;
|
||||
Name=string.Empty;
|
||||
Name = string.Empty;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
@@ -56,7 +56,7 @@ namespace AyaNova.Models
|
||||
return JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.None);
|
||||
}
|
||||
|
||||
//linked entity
|
||||
//linked entity
|
||||
public NotifySubscription NotifySubscription { get; set; }
|
||||
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user