mesas_model.dart 952 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // import 'package:flutter/material.dart';
  2. // import 'package:turquessa_mesas_hoster/core/models/basico_model.dart';
  3. // import 'package:turquessa_mesas_hoster/core/models/mesa_model.dart';
  4. // enum EstadoPedido {
  5. // disponible,
  6. // surtida,
  7. // preparacion,
  8. // cobrado,
  9. // }
  10. // // class Mesas extends Basico {
  11. // // String? nombre;
  12. // // EstadoPedido? tipo;
  13. // // String? folio;
  14. // // Mesas({
  15. // // this.nombre,
  16. // // this.tipo,
  17. // // this.folio,
  18. // // });
  19. // // @override
  20. // // Map<String, dynamic> toJson() {
  21. // // return {
  22. // // 'nombre': nombre ?? '',
  23. // // 'tipo': tipo.toString(),
  24. // // 'folio': folio ?? '',
  25. // // }..addAll(super.toJson());
  26. // // }
  27. // // }
  28. // class TableItem extends Basico {
  29. // final int id;
  30. // final String name;
  31. // final EstadoPedido status;
  32. // TableItem({
  33. // required this.id,
  34. // required this.name,
  35. // required this.status,
  36. // });
  37. // }