Added Group backend CRUD

This commit is contained in:
2025-10-03 21:16:34 +02:00
parent 317b38a4d0
commit 3a97bd6024
6 changed files with 231 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
namespace Berufsschule_HAM.Models;
public class GroupsIndexRequestModel
{
public string? Cn { get; set; }
public bool GidNumber { get; set; } = true;
public bool Permissions { get; set; } = true;
}
public class GroupsModifyRequestModel
{
public required string Cn { get; set; }
public string? NewCn { get; set; } = null;
public string? GidNumber { get; set; } = null;
public GroupPermissions? Permissions { get; set; } = null;
}