mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 07:40:13 +01:00
Notification Date notnull
This commit is contained in:
parent
d6b0e3a366
commit
ebc30c85bf
@ -16,4 +16,6 @@ public class Notification(string title, string message = "", NotificationUrgency
|
|||||||
public string Message { get; init; } = message;
|
public string Message { get; init; } = message;
|
||||||
|
|
||||||
public DateTime Date { get; init; } = date ?? DateTime.UtcNow;
|
public DateTime Date { get; init; } = date ?? DateTime.UtcNow;
|
||||||
|
|
||||||
|
public Notification() : this("") { }
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user