17 lines
572 B
C#
17 lines
572 B
C#
|
|
using Meezi.Core.Enums;
|
||
|
|
|
||
|
|
namespace Meezi.API.Models.Staff;
|
||
|
|
|
||
|
|
/// <summary>A single per-branch role assignment for an employee.</summary>
|
||
|
|
public record BranchRoleAssignmentDto(
|
||
|
|
string Id,
|
||
|
|
string BranchId,
|
||
|
|
string BranchName,
|
||
|
|
EmployeeRole Role);
|
||
|
|
|
||
|
|
/// <summary>Assign (or move) an employee into a branch with a specific role.</summary>
|
||
|
|
public record AssignBranchRoleRequest(string BranchId, EmployeeRole Role);
|
||
|
|
|
||
|
|
/// <summary>Change the role an employee holds in an existing branch assignment.</summary>
|
||
|
|
public record UpdateBranchRoleRequest(EmployeeRole Role);
|