mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 23:11:54 +00:00
31 lines
1018 B
C#
31 lines
1018 B
C#
namespace Berufsschule_HAM.Models;
|
|
|
|
public class UsersIndexRequestModel
|
|
{
|
|
public string? Uid { get; set; } = null;
|
|
public bool Cn { get; set; } = true;
|
|
public bool Sn { get; set; } = true;
|
|
public bool Title { get; set; } = true;
|
|
public bool Description { get; set; } = true;
|
|
public bool JpegPhoto { get; set; } = true;
|
|
public bool UserPassword { get; set; } = true;
|
|
}
|
|
|
|
public class UsersModifyRequestModel
|
|
{
|
|
public required string uid { get; set; }
|
|
public string? NewUid { get; set; } = null;
|
|
public string? Cn { get; set; } = null;
|
|
public string? Sn { get; set; } = null;
|
|
public string? Title { get; set; } = null;
|
|
public string? Description { get; set; } = null;
|
|
public string? JpegPhoto { get; set; } = null;
|
|
public string? UserPassword { get; set; } = null;
|
|
}
|
|
|
|
public class UsersDeleteRequestModel(bool successful, string exception = "None")
|
|
{
|
|
public bool Success { get; set; } = successful;
|
|
|
|
public string? Exception { get; set; } = exception;
|
|
} |