Type Definitions
Car
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
id |
number | Unique identifier for a car | |
make |
string | Manufacturer/brand of the car | |
model |
string | Model name of the car | |
customer_id |
number |
<optional> |
id of associated customer |
customer |
Customer | Associated customer (if customer_id is provided) |
- Source:
Customer
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
id |
number | Unique identifier for a customer |
name |
string | The name of the customer |
email |
string | The email address of the customer |
cars |
Array.<Car> | Associated cars |
- Source: