mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-14 15:27:53 +02:00
Notification Date notnull
This commit is contained in:
@ -16,4 +16,6 @@ public class Notification(string title, string message = "", NotificationUrgency
|
||||
public string Message { get; init; } = message;
|
||||
|
||||
public DateTime Date { get; init; } = date ?? DateTime.UtcNow;
|
||||
|
||||
public Notification() : this("") { }
|
||||
}
|
Reference in New Issue
Block a user