This commit is contained in:
@@ -31,16 +31,8 @@ namespace AyaNova.Models
|
||||
public long UserId { get; set; }
|
||||
[Required]
|
||||
public long NotifySubscriptionId { get; set; }//source subscription that triggered this event to be created
|
||||
|
||||
//Not sure why these were put here, I'm commenting them out for now
|
||||
//they seem to just be an artifact possibly of making this model from the subscription model? (copy paste)
|
||||
//read the specs again and they aren't mentioned and I don't see any reference anywhere in actual delivery notification nor front end etc
|
||||
//only for the subscription itself
|
||||
//KEEP THIS UNTIL DONE THEN REMOVE IN FUTURE IF IT WASN"T NEEDED
|
||||
// [Required]
|
||||
// public long IdValue { get; set; }
|
||||
// [Required]
|
||||
// public decimal DecValue { get; set; }
|
||||
|
||||
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; }
|
||||
@@ -51,7 +43,7 @@ namespace AyaNova.Models
|
||||
{
|
||||
Created = EventDate = DateTime.UtcNow;
|
||||
// IdValue = 0;
|
||||
// DecValue = 0;
|
||||
DecValue = 0;
|
||||
AyaType = AyaType.NoType;
|
||||
ObjectId = 0;
|
||||
Name = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user