42 lines
1.0 KiB
C#
42 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
using gehGassiApp.Domain.Common;
|
|
|
|
namespace gehGassiApp.Domain
|
|
{
|
|
/// <summary>
|
|
/// Hilfsklasse zum abspeichern der referenz-Info für lokale PushNotifications
|
|
/// </summary>
|
|
public class LocalPushNotificationInfo
|
|
{
|
|
/// <summary>
|
|
/// Typ des Appusers damit man bei jenen die beides sind auch unterscheiden kann
|
|
/// </summary>
|
|
[JsonPropertyName("appMode")]
|
|
public AppMode AppMode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Id des verknüpften Objektes
|
|
/// </summary>
|
|
[JsonPropertyName("key")]
|
|
public string Key { get; set; }
|
|
|
|
/// <summary>
|
|
/// Typ des Objektes das verbunden wurde
|
|
/// </summary>
|
|
[JsonPropertyName("table")]
|
|
public string Table { get; set; }
|
|
|
|
/// <summary>
|
|
/// Typ der Systemnachricht
|
|
/// </summary>
|
|
[JsonPropertyName("type")]
|
|
public SystemMessageType Type { get; set; }
|
|
}
|
|
}
|