Inheritance Mapping (single table)
pizza_order
option
pizza_size
id
sizeid (FK)
room
status
order_option
id
kind
name
color
aspect
orderid (FK)
optionid (FK)
id
name
PizzaOrder
Option
PizzaSize
0..*
0..*
0..*
Topping
Shape
∙
color
∙
id
∙
name
∙
aspect
Discriminator column to specify subtype
(not seen in object properties)
21
1