Sha256: 923f8cec8929937467d0297381456220bf57b8ba9bb85a996b4d6adf90ae55bc

Contents?: true

Size: 653 Bytes

Versions: 22

Compression:

Stored size: 653 Bytes

Contents

vocabulary WaiterTips;

/*
 * Value Types
 */
AUDValue is written as Money;
MealId is written as Auto Counter;
WaiterNr is written as Signed Integer(32);

/*
 * Entity Types
 */
Amount is identified by AUDValue where
	Amount has one AUDValue,
	AUDValue is of at most one Amount;

Meal is identified by its Id;

Waiter is identified by its Nr;

WaiterTip is where
	Waiter for serving Meal reported a tip of one Amount;

Service is where
	Waiter served Meal;
Service earned a tip of at most one Amount;

/*
 * Constraints:
 */
Service (in which Waiter served Meal) earned a tip of Amount
	if and only if
	Waiter for serving Meal reported a tip of Amount;

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
activefacts-examples-1.9.9 cql/WaiterTips.cql
activefacts-examples-1.9.8 cql/WaiterTips.cql
activefacts-examples-1.8.0 cql/WaiterTips.cql
activefacts-examples-1.7.2 cql/WaiterTips.cql
activefacts-examples-1.7.1 cql/WaiterTips.cql
activefacts-1.6.0 examples/CQL/WaiterTips.cql
activefacts-1.5.3 examples/CQL/WaiterTips.cql
activefacts-1.5.2 examples/CQL/WaiterTips.cql
activefacts-1.5.1 examples/CQL/WaiterTips.cql
activefacts-1.5.0 examples/CQL/WaiterTips.cql
activefacts-1.3.0 examples/CQL/WaiterTips.cql
activefacts-1.2.1 examples/CQL/WaiterTips.cql
activefacts-1.2.0 examples/CQL/WaiterTips.cql
activefacts-1.1.0 examples/CQL/WaiterTips.cql
activefacts-1.0.2 examples/CQL/WaiterTips.cql
activefacts-1.0.1 examples/CQL/WaiterTips.cql
activefacts-1.0.0 examples/CQL/WaiterTips.cql
activefacts-0.8.18 examples/CQL/WaiterTips.cql
activefacts-0.8.16 examples/CQL/WaiterTips.cql
activefacts-0.8.15 examples/CQL/WaiterTips.cql