using OnlyPrompt.Backend.ApiModels.Validators; using System.ComponentModel.DataAnnotations; namespace OnlyPrompt.Backend.ApiModels.UserProfile { public record ApiUpdateProfileRequest([MaxLength(100)] string? DisplayName, [MaxLength(100)][NoWhitespace] string? Slug, string? Bio, string? AvatarUrl, string? Specialities, bool IsPublic); public record ApiCreateReviewRequest(string? Comment, [Range(1, 5)] int Rating); }