import 'package:app_gaslieferung/model/address.dart'; import 'car.dart'; class Supplier { String id; String name; Address address; String? phoneNumber; List cars; Supplier({ required this.id, required this.name, required this.cars, required this.address, }); } /// Contains information about the cars the supplier has and how many /// deliveries they have per car. class SupplierTourMetadata { String date; /// The list of cars the supplier has and how many deliveries they have per car. List tours; SupplierTourMetadata({required this.date, required this.tours}); } class TourMetadata { Car car; int amountDeliveries; TourMetadata({required this.car, required this.amountDeliveries}); }