// lib/features/admin/tabs/messages/chat_models.dart

class ChatContact {
  final String id;
  final String name;
  final String lastMessage;
  final DateTime? time;
  final int unreadCount;
  final String otherUserEmail;
  final String? profilePicture;
  final bool isGroup;
  final bool isArchived;
  final bool hasMention; // 🚀 Tracks if you were mentioned/replied to

  ChatContact({
    required this.id,
    required this.name,
    required this.lastMessage,
    required this.time,
    this.unreadCount = 0,
    required this.otherUserEmail,
    this.profilePicture,
    this.isGroup = false,
    this.isArchived = false,
    this.hasMention = false,
  });
}