using System.ComponentModel.DataAnnotations; public class ChatRequest { [Required] [MaxLength(200)] public required string Message { get; set; } }