mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: reports; improved+simplifed modals; extractError funcction;
refactor: change jwt claims to lowercase; use response dtos for sensitive data fix: nullify user on token clears; change appsettings.dev View_Internal_API_Key
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SharpbinV3.Server.DTOs.Report
|
||||
{
|
||||
public class ReportDto
|
||||
{
|
||||
[Required]
|
||||
[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 ReportStatus { get; set; } = "Open";
|
||||
public string? VerificationToken { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user