import 'package:objectbox/objectbox.dart';
import 'package:mobdr/objectbox.g.dart';

// ignore_for_file: public_member_api_docs

@Entity()
class User {
  // specify the id
  @Id()
  int id = 0;

  int id_utilisateur;
  String login;
  String nom;
  String prenom;
  String photo;

  User(
      {this.id = 0,
      required this.id_utilisateur,
      required this.login,
      required this.nom,
      required this.prenom,
      required this.photo});
}
