course-work/lib/models/order.dart

31 lines
669 B
Dart

import 'package:selfprivacy/models/item.dart';
class Order {
Order({
required this.title,
required this.description,
required this.id,
required this.customerName,
required this.customerPhone,
required this.orderDate,
required this.deliveryDate,
required this.address,
required this.status,
required this.courierId,
required this.items,
});
final String title;
final String description;
final String customerName;
final String customerPhone;
final String orderDate;
final String deliveryDate;
final String address;
final String status;
final int id;
final int courierId;
final List<Item> items;
}