mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 10:43:13 +00:00
23 lines
831 B
C#
23 lines
831 B
C#
using Data.SeaHavenIndustries.Enums;
|
|
|
|
namespace SeaHaven.Services.Interfaces
|
|
{
|
|
public interface IWorkOrderAuditService
|
|
{
|
|
Task LogAsync(
|
|
int workOrderId,
|
|
AuditActionType action,
|
|
AuditEventType eventType,
|
|
AuditActorType actorType,
|
|
string fieldName,
|
|
string? oldValue,
|
|
string? newValue,
|
|
string? actorId = null,
|
|
int? dispatchId = null,
|
|
string? correlationId = null);
|
|
|
|
Task LogStatusChangedAsync(int workOrderId, string? oldStatus, string? newStatus, string? actorId);
|
|
Task LogAssignmentChangedAsync(int workOrderId, string? oldValue, string? newValue, string? actorId);
|
|
Task LogSyncRejectedAsync(int workOrderId, string fieldName, string? oldValue, string? newValue);
|
|
}
|
|
}
|