using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using gehGassiApp.Domain.Common; using Platform = gehGassiApp.Domain.Common.Platform; namespace gehGassiApp.Domain.Pushnotifications { /// /// Info für die Registrierung eines Devices für Pushnotifications /// public class DeviceInstallation { /// /// Eindeutige Id des Devices am Gerät /// [Required] [MaxLength(128)] public string InstallationId { get; set; } /// /// Plattform /// [Required] public Platform Platform { get; set; } /// /// Notification-Platform die verwendet werden soll /// [Required] public NotificationPlatform NotificationPlatform { get; set; } /// /// Welcher Pushnotification-Channel wurde gebucht /// [Required] [MaxLength(128)] public string Channel { get; set; } /// /// Sprache am Gerät /// [Required] [MaxLength(2)] public string Language { get; set; } } }