using System.ComponentModel.DataAnnotations; namespace Nuuru.Server.DTOs.Messaging { public class CreateConversationRequest { [Required] [MinLength(1)] public List ParticipantIds { get; set; } = []; [MaxLength(200)] public string? Title { get; set; } [Required] [MinLength(1)] [MaxLength(10000)] public string Content { get; set; } = string.Empty; } public class CreateMessageRequest { [Required] [MinLength(1)] [MaxLength(10000)] public string Content { get; set; } = string.Empty; } public class UpdateMessageRequest { [Required] [MinLength(1)] [MaxLength(10000)] public string Content { get; set; } = string.Empty; } public class AddParticipantRequest { [Required] public Guid UserId { get; set; } } public class LockConversationRequest { public bool Locked { get; set; } } }