I'm trying to suggest DB structure. There is little problem and I hope anyone can help me. There are following tables:
VEHICLE
(basic entity with shared properties)
- id
- kind_id
KIND
(personal car, utility vehicle)
- id
- name
KIND_SPECIFIC_EQUIPMENT
(air-condition, airbag....) - possible equipment for specific kind
- id
- kind_id
- name
CAR_EQUIPMENT
(just link-table) - equipment for concrete car
- vehicle_id
- kind_specific_equipment_id
My problem is, that I need to add "list of values
" for some equipment.
For example:
My kind of vehicle is "personal car
" and "kind_specific_equipment
" is "air-condition
". There can be more kind of air-conditions (automatic, manual...) Do anyone known how I can do that?