mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-05 11:25:20 +08:00
16 lines
473 B
C#
16 lines
473 B
C#
using BetterGenshinImpact.Service.Notification.Model.Enum;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace BetterGenshinImpact.Service.Notification.Model;
|
|
|
|
public record LifecycleNotificationData : INotificationData
|
|
{
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public NotificationEvent Event { get; set; }
|
|
|
|
public static LifecycleNotificationData Test()
|
|
{
|
|
return new LifecycleNotificationData() { Event = NotificationEvent.Test };
|
|
}
|
|
}
|