Files
Sharpbin/SharpbinV3.Server/DTOs/ReportDto.cs
T
whoswhip 14bbd9c762 feat: reporting apis; better rate limiting
refactor: change certain apis to be more REST like (e.g. DELETE /api/paste/{pasteId}/delete -> DELETE /api/paste/{pasteId}
2026-01-10 00:06:36 -05:00

16 lines
461 B
C#

using System.ComponentModel.DataAnnotations;
namespace SharpbinV3.Server.DTOs
{
public class ReportDto
{
[Required]
[MaxLength(1000)]
public string Description { get; set; } = string.Empty;
[Required]
public string ReportType { get; set; } = string.Empty; // e.g., "Spam", "Abuse", etc.
public string ReportStatus { get; set; } = "Open";
public string? VerificationToken { get; set; }
}
}