SalesChain
Customer
Wholesaler
till
action pay (retailer, wholesaler, amount)pre retailer.till> amountpost retailer.till ñ= amount&& wholesaler.till += amount
Thing
price
Owner
stock
1
*
action supply (wholesaler, retailer, thing)pre wholesaler.stock includes thingpost wholesaler.stock ñ= thing&& retailer.stock += thing
Retailer
till
action pay (customer, retailer, amount)pre customer.pocket> amountpost customer.pocket ñ= amount&& retailer.till += amount
action supply (retailer, customer, thing)pre retailer.stock includes thingpost retailer.stock ñ= thing&& customer.stock += thing
pay
supply
supply
pay
| Previous slide | Next slide | Back to first slide | View graphic version |