29 lines
652 B
C#
29 lines
652 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using gehGassi.Dto.Common;
|
|
|
|
namespace gehGassi.Dto.News
|
|
{
|
|
/// <summary>
|
|
/// Model für die Abfrage von News
|
|
/// </summary>
|
|
public class NewsQueryDto : QueryDto
|
|
{
|
|
/// <summary>
|
|
/// Gewünschte Kategorie oder leer
|
|
/// </summary>
|
|
[JsonPropertyName("categoryId")]
|
|
public string CategoryId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Erstellt eine Instanz
|
|
/// </summary>
|
|
public NewsQueryDto()
|
|
{
|
|
CategoryId = string.Empty;
|
|
}
|
|
}
|
|
}
|