Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 729 Bytes

File metadata and controls

38 lines (32 loc) · 729 Bytes

TrainingDemo

User - Order - Product

A user can have zero or many orders.

Each order can have one or many products.

User

String customerId;
String customerFirstName;
String customerLastName;
String customerEmail;
int customerPhone;
String customerAddress;
String customerPassword;
Date customerRegDate;

Order

String id;
Date date;
double totalAmount;
String status;
List orderedProducts;

Product

String id;
String code;
String name;
double price;
String category;
String type;
String gender;
String size;
String color;
String description;
String brand;
String image;