mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
refactor: change certain apis to be more REST like (e.g. DELETE /api/paste/{pasteId}/delete -> DELETE /api/paste/{pasteId}
16 lines
461 B
C#
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; }
|
|
}
|
|
}
|