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

// ignore_for_file: public_member_api_docs

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

  int id_visite_tag;
  int id_distrib;
  String libelle;
  String langage;

  VisitTag(
      {this.id = 0,
      required this.id_visite_tag,
      required this.id_distrib,
      required this.libelle,
      required this.langage});

  VisitTag.fromJson(Map<String, dynamic> json)
      : id_visite_tag = json['id_visite_tag'],
        id_distrib = json['id_distrib'],
        libelle = json['libelle'],
        langage = json['langage'];
}
