emloyee and user fixings
This commit is contained in:
@@ -10,3 +10,7 @@ public sealed record AuditLogDto(
|
||||
/// <summary>A GL-ready journal stub emitted per stock movement (FR-STK-13).</summary>
|
||||
public sealed record JournalEntryStubDto(
|
||||
int JournalId, string SourceDocType, int SourceDocId, string DebitAccount, string CreditAccount, decimal Amount);
|
||||
|
||||
/// <summary>A captured past sign-in — device history, not a live "currently active sessions" view.</summary>
|
||||
public sealed record LoginActivityDto(
|
||||
int LoginActivityId, string? IpAddress, string? DeviceLabel, DateTime LoginAt);
|
||||
|
||||
@@ -53,5 +53,10 @@ public sealed class UpdateUserRoleRequest
|
||||
[Required] public int RoleId { get; set; }
|
||||
}
|
||||
|
||||
public sealed class UpdateUserStatusRequest
|
||||
{
|
||||
[Required, EnumDataType(typeof(EntityStatus))] public EntityStatus Status { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>AuthHex UserType lookup, for populating the create-user form's select (no local shadow — read-only passthrough).</summary>
|
||||
public sealed record UserTypeOptionDto(Guid UserTypeId, string? Code, string? Description);
|
||||
|
||||
Reference in New Issue
Block a user