using gehGassi.Dto.Common; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace gehGassi.Dto.Pushnotifications { /// /// DTO für die Registrierung eines Devices für Pushnotifications /// public class DeviceInstallationDto { /// /// Eindeutige Id des Devices am Gerät /// [Required] [MaxLength(128)] public string InstallationId { get; set; } /// /// Plattform /// [Required] public PlatformDto Platform { get; set; } /// /// Notification-Platform die verwendet werden soll /// [Required] public NotificationPlatformDto NotificationPlatform { get; set; } /// /// Welcher Pushnotification-Channel wurde gebucht /// [Required] [MaxLength(512)] public string Channel { get; set; } /// /// Sprache am Gerät /// [Required] [MaxLength(2)] public string Language { get; set; } } }