Inheritance Mapping (3 tables)
pizza_order
option
pizza_size
id
sizeid (FK)
room
status
order_option
id
name
orderid (FK)
optionid (FK)
id
name
PizzaOrder
PizzaSize
0..*
0..*
topping
shape
id
(FK) color
Option
0..*
Topping
∙
color
∙
id
∙
name
∙
aspect
Shape
id
(FK)
aspect
23
1