import 'package:equatable/equatable.dart';

class User extends Equatable {
  final String userId;
  final String userLastName;
  final String userFirstName;
  final String email;
  final String motDePasse;
  final String profileImageUrl;
  final int eventsCount;
  final int friendsCount;
  final int postsCount;
  final int visitedPlacesCount;

  const User({
    required this.userId,
    required this.userLastName,
    required this.userFirstName,
    required this.email,
    required this.motDePasse,
    required this.profileImageUrl,
    this.eventsCount = 0,
    this.friendsCount = 0,
    this.postsCount = 0,
    this.visitedPlacesCount = 0,
  });

  @override
  List<Object?> get props => [
    userId,
    userLastName,
    userFirstName,
    email,
    motDePasse,
    profileImageUrl,
    eventsCount,
    friendsCount,
    postsCount,
    visitedPlacesCount,
  ];
}
