Files
better-genshin-impact/BetterGenshinImpact/Service/Notification/NotificationConfig.cs
2025-01-28 13:12:14 +08:00

37 lines
769 B
C#

using CommunityToolkit.Mvvm.ComponentModel;
using System;
namespace BetterGenshinImpact.Service.Notification;
/// <summary>
/// Notification
/// </summary>
[Serializable]
public partial class NotificationConfig : ObservableObject
{
/// <summary>
///
/// </summary>
[ObservableProperty]
private bool _webhookEnabled;
/// <summary>
///
/// </summary>
[ObservableProperty]
private string _webhookEndpoint = string.Empty;
/// <summary>
/// 是否包含截图
/// </summary>
[ObservableProperty]
private bool _includeScreenShot = false;
/// <summary>
/// windows uwp 通知是否启用
/// </summary>
[ObservableProperty]
private bool _windowsUwpNotificationEnabled = false;
}