initial commit from an older template

This commit is contained in:
2025-09-20 22:33:35 +03:00
commit b6778046c2
134 changed files with 6657 additions and 0 deletions

40
Utils/PushNotification.cs Executable file
View File

@@ -0,0 +1,40 @@
namespace GamificationService.Utils;
public class PushNotification : Notification
{
#region Fields
private readonly string? _image;
private readonly string? _clickAction;
private readonly ClickActionType? _clickActionType;
#endregion
#region Properties
public string? Image { get => _image; }
public string? ClickAction { get => _clickAction; }
public int? ClickActionType { get => (int)_clickActionType; }
#endregion
#region Constructor
public PushNotification(NotificationInformationType type, string title, string message, string image, string clickAction, ClickActionType clickActionType) : base(type, title, message)
{
_image = image;
_clickAction = clickAction;
_clickActionType = clickActionType;
}
public PushNotification(NotificationInformationType type, string title, string message, string? image) : base(type, title, message)
{
_image = image;
}
public PushNotification(NotificationInformationType type, string title, string message) : base(type, title, message)
{
}
#endregion
}