Biks By Sl-y1988
A customer orders a drink and food. This is collectively called an ‘order’. A waiter takes the order. Then, he does two things. First, the waiter creates a ‘food order’: he writes the order on a piece of paper and gives the order to the cook. Second, he creates in a similar way the ‘drink order’ and gives it to the bar tender. Then the cook prepares the meal, and the bar tender prepares the drink. This can be done simultaneously. The waiter collects both the drink (from the bar tender) and the meal (from the cook) and serves the drink and the meal to the customer. The customer consumes the food and drink, and afterwards, he pays. The payment can be in cash, or by means of a credit card. Then the waiter handles the payment. Payment handling is different for cash and credit card (a cash payment involves just putting the money into the cash register, whereas a credit card payment requires clearance of the credit card company – Note: you need not to model this clearance itself).