대학 프로젝트를 위해 주어진 요약본에서 ER 다이어그램을 설계하려고합니다.유형에 따라 속성이 다른 엔티티?
나는이 문제를 처리하는 방법을 혼란 스러워요 :
내가 지금까지에 가지고이 솔루션은이 같은 관계로이 약한 엔티티를 모두 만드는 것입니다The items sold in the Food Truck can be of different types: burritos and
beverages. Every item have an ID, a description and a price. Assume that every
Food Truck has infinite stock of each item (i.e. we do not need to track stock levels
in each Food Truck).
All Burritos come with rice, a type of bean, a filling, and a set of optional
toppings. Burritos are priced by size (Mini, Regular, and Grande). Bean types will
vary. Chipp will start by offering two types: black beans and red beans. Burrito
fillings will vary (depending on the season). There are at least 3 types of Burrito
fillings and there should be a vegetarian option.
A Burrito may optionally have toppings: lettuce, tomato, and mild and hot
salsa. Toppings are free, but Chipp will also offer guacamole as a topping for which
there is an extra charge.
The Food Truck also sells different types of refreshing beverages, both
alcoholic and non-alcoholic. All beverages have a size measured in milliliters (just in
case Chipp takes his Food Truck business over the Channel to mainland Europe).
:
문제를 해결하는 올바른 방법입니까?