mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
refactor: update report types and statuses to remove useless values
This commit is contained in:
@@ -8,7 +8,7 @@ namespace SharpbinV3.Server.DTOs.Report
|
||||
[MinLength(12), MaxLength(1000)]
|
||||
public string Description { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public string ReportType { get; set; } = string.Empty; // e.g., "Spam", "Abuse", etc.
|
||||
public string ReportType { get; set; } = string.Empty;
|
||||
public string ReportStatus { get; set; } = "Open";
|
||||
public string? VerificationToken { get; set; }
|
||||
}
|
||||
|
||||
@@ -36,16 +36,12 @@ namespace SharpbinV3.Server.Data.Entities
|
||||
public enum ReportStatus
|
||||
{
|
||||
Open,
|
||||
InProgress,
|
||||
Resolved,
|
||||
Closed
|
||||
}
|
||||
public enum ReportType
|
||||
{
|
||||
Spam,
|
||||
Abuse,
|
||||
InappropriateContent,
|
||||
CopyrightViolation,
|
||||
IllegalContent,
|
||||
Fraud,
|
||||
Other
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user