using gehGassi.Dto.Common;
using System;
namespace gehGassi.Dto.Subscriptions
{
///
/// DTO für ein Abonnement
///
public class SubscriptionDto
{
///
/// Eindeutige Id
///
public string Id { get; set; }
///
/// Code des Abonnements
///
public string Code { get; set; }
///
/// Länge des Abonnements
///
public SubscriptionLengthDto Length { get; set; }
///
/// Preis des Abonnements
///
public decimal Price { get; set; }
///
/// Art des Abonnements - für welchen Benutzer-Typ?
///
public AppModeDto AppMode { get; set; }
///
/// Zeit in Tagen die als Toleranz bei Ablauf akzeptiert wird
///
public int GracePeriodInDays { get; set; }
///
/// Ist das Abonnement ausgeblendet?
///
public bool Hidden { get; set; }
///
/// Optional: the Max registered date of the app user to see this subscription
///
public DateTimeOffset? MaxRegisteredDate { get; set; }
///
/// Name des Abonnements - übersetzt
///
public string Name { get; set; }
///
/// Beschreibung des Abonnements - übersetzt
///
public string Description { get; set; }
}
}