classDiagram
class Order {
-orderId: int
-date: Date
+getOrderDetails(): string
}
class Product {
-productId: int
-productName: string
-price: float
+getProductDetails(): string
}
class Customer {
-customerId: int
-name: string
-email: string
+getCustomerDetails(): string
}
Order "1"-- "*" Product: contains
Customer "1" -- "0..*" Order: places

A diagrammatic representation of an Object model.