This commit is contained in:
@@ -34,6 +34,11 @@ namespace AyaNova.Models
|
||||
Created = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.None);
|
||||
}
|
||||
|
||||
}//eoc
|
||||
|
||||
}//eons
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace AyaNova.Models
|
||||
|
||||
[Required]
|
||||
public long UserId { get; set; }
|
||||
public AyaType? AyaType { 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 TimeSpan? AdvanceNotice { get; set; } //Note: I've been doing nullable wrong sort of: https://stackoverflow.com/a/29149207/8939
|
||||
|
||||
Reference in New Issue
Block a user