View all abuse reports

This commit is contained in:
2024-12-08 14:44:55 +08:00
parent e6a9185d11
commit add904cc41
9 changed files with 533 additions and 95 deletions

View File

@ -119,3 +119,20 @@ class SnAccountStatusInfo with _$SnAccountStatusInfo {
factory SnAccountStatusInfo.fromJson(Map<String, Object?> json) =>
_$SnAccountStatusInfoFromJson(json);
}
@freezed
class SnAbuseReport with _$SnAbuseReport {
const factory SnAbuseReport({
required int id,
required DateTime createdAt,
required DateTime updatedAt,
required DateTime? deletedAt,
required String resource,
required String reason,
required String status,
required int accountId,
}) = _SnAbuseReport;
factory SnAbuseReport.fromJson(Map<String, Object?> json) =>
_$SnAbuseReportFromJson(json);
}