diff --git a/UsedCars/UsedCars.xml b/UsedCars/UsedCars.xml index f654a49..6a18719 100644 --- a/UsedCars/UsedCars.xml +++ b/UsedCars/UsedCars.xml @@ -77,7 +77,7 @@ -
As noted above, Happy Joe’s has about one hundred employees. The usual details such as name, address and phone number will be recorded. Employees must be at least 16 years old at the time they are first hired.
+As noted above, Happy Joe’s has about one hundred employees. The usual details such as name, address and phone number will be recorded. Employees must be at least 18 years old at the time they are first hired.
Note that Service
, Sales
and Other
are all subtypes of Staff
, and therefore use the same primary key as Staff
.
Hourly_Rate
must meet minimum wage requirements: at least Total_Hours
is measured to the nearest quarter hour and must be in the range 0–3500 (= 40 hours per week
Hourly_Rate
must meet the minimum wage requirements of at least Total_Hours
is measured to the nearest quarter hour and must be in the range 0–4500 (= 40 hours per week
Salary
must meet minimum wage requirements: at least
Salary
must meet the minimum wage requirement of at least
Some sales staff are paid on commission (up to 30Car
—see On_Commission
is “true” and Commission_Rate
must be greater than zero. If the salesrep is paid on flat rate then On_Commission
is “false” and Commission_Rate
must be zero.
Gross_Earnings
stores the gross amount (i.e., before tax) earned by a salesrep to date in the current financial year (1 April to 31 March). For salesreps who are on commission, this is the sum to date of Commission_Rate
Sale.Amount
. For salesreps who are not on commission, this is sum to date of Car.Flat_Rate
(via Sale
—see
Gross_Earnings
stores the gross amount (i.e., before tax) earned by a salesrep to date in the current financial year (1 April to 31 March). For salesreps who are on commission, this is the sum to date of Commission_Rate
Sale.Amount
. For salesreps who are not on commission, this is sum to date of Car.Flat_Rate
for each car sold (see Sale
in
The usual details will be recorded for each customer: name, address, phone and optionally an email address. The credit rating is also optional.
+The usual details will be recorded for each customer: name, address, phone and optionally an email address.
Cars may have any number of optional features, such as air conditioning, side airbags, body kit, iPod integration, cruise control, etc.
+Cars may optionally have any number of special features, such as alloy wheels, side airbags, body kit, iPod integration, cruise control, etc.
Car_Feature
is an associative entity that exists only to link cars with features. It has no additional attributes of its own.
Description
Notes
The New Zealand government mandates four categories of dealer warranty for used cars. Warranty
is a lookup table that records details of these warranty categories and enables them to be easily changed if the regulations change. An excerpt from a government discussion paper
New Zealand legislation mandates four categories of dealer warranty for used cars. Warranty
is a lookup table that records details of these warranty categories and enables them to be easily changed if the regulations change. An excerpt from a government discussion paper
Purchases are for a single car only (i.e., no bulk purchases). Trade-ins are effectively treated as a special type of purchase (see
Purchases are for a single car only (i.e., no fleet purchases). Trade-ins are effectively treated as a special type of purchase (see
Sales are for a single car only (i.e., no bulk sales). Some sales involve the trade-in of a single car, which is effectively treated as a special type of purchase that is linked to the corresponding sale.
+Sales are for a single car only (i.e., no fleet sales). Some sales involve the trade-in of a single car, which is effectively treated as a special type of purchase that is linked to the corresponding sale.