mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
23 lines
588 B
C#
23 lines
588 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Berufsschule_HAM.Models;
|
|
|
|
public class LocationsCreateRequestModel
|
|
{
|
|
[JsonPropertyName("Description")]
|
|
public required LocationsDescription LocationsDescription { get; set; }
|
|
}
|
|
|
|
public class LocationsModifyRequestModel
|
|
{
|
|
[JsonPropertyName("Location")]
|
|
public required string Location { get; set; }
|
|
[JsonPropertyName("Description")]
|
|
public required LocationsDescription Description { get; set; }
|
|
}
|
|
|
|
public class LocationsDeleteRequestModel
|
|
{
|
|
[JsonPropertyName("cn")]
|
|
public required string Cn { get; set; }
|
|
} |