50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using gehGassi.Dto.Common;
|
|
|
|
namespace gehGassi.Dto.News
|
|
{
|
|
/// <summary>
|
|
/// Repräsentiert eine Kategorie für die News - als DTO
|
|
/// </summary>
|
|
public class NewsCategoryDto : SyncEntityDto
|
|
{
|
|
/// <summary>
|
|
/// Sprache für welche die News zur Verfügung steht
|
|
/// </summary>
|
|
public string Language { get; set; }
|
|
|
|
/// <summary>
|
|
/// Name - Inhalt
|
|
/// Max-Length / 100 im Viewmodel
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Beschreibung der Kategorie.
|
|
/// </summary>
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// Bild für die Kategorie - Allgemein
|
|
/// </summary>
|
|
public string Image { get; set; }
|
|
|
|
/// <summary>
|
|
/// Bild der Kategorie für eine Sprache
|
|
/// </summary>
|
|
public string ImageLanguage { get; set; }
|
|
|
|
/// <summary>
|
|
/// Online / Offline Status
|
|
/// </summary>
|
|
public OnlineStatusDto OnlineStatus { get; set; }
|
|
|
|
/// <summary>
|
|
/// Datum der Erstellung
|
|
/// </summary>
|
|
public DateTimeOffset Created { get; set; }
|
|
}
|
|
}
|