feat(backend): report context, fix deleting reports

This commit is contained in:
sam 2024-12-18 21:26:35 +01:00
parent bd21eeebcf
commit 546e900204
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 133 additions and 3 deletions

View file

@ -29,9 +29,12 @@ public class Report : BaseModel
public ReportStatus Status { get; set; }
public ReportReason Reason { get; init; }
public string? Context { get; init; }
public ReportTargetType TargetType { get; init; }
public string? TargetSnapshot { get; init; }
public AuditLogEntry? AuditLogEntry { get; set; }
}
[JsonConverter(typeof(ScreamingSnakeCaseEnumConverter))]