Presentation is loading. Please wait.

Presentation is loading. Please wait.

Newark Lawn Care (NLC). ServiceEmployee ContractProperty salespersonmanager 1,1 Customer 0,N Cash Receipt Truck Equipment Cash Disbursement Lease Cash.

Similar presentations


Presentation on theme: "Newark Lawn Care (NLC). ServiceEmployee ContractProperty salespersonmanager 1,1 Customer 0,N Cash Receipt Truck Equipment Cash Disbursement Lease Cash."— Presentation transcript:

1 Newark Lawn Care (NLC)

2 ServiceEmployee ContractProperty salespersonmanager 1,1 Customer 0,N Cash Receipt Truck Equipment Cash Disbursement Lease Cash Equipment Type Maintenance Schedule Maintenance Type Vendor references 0,1 0,N LL 0,N 1,1 1,N 0,N 0,1 1,1 0,N 1,10,N 0,1 0,N 1,1 0,N 1,N 0,N1,1 1,N 0,N 1,1 amount 1,1 0,N 1,N 1,1 0,N 1,N 0,N 1,1 duration cost 1,N0,N HL 0,N 1,N LL 0,N1,1 HL

3 codenameaddresstel Customer CUSTOMER (references)CUSTOMER (referenced by) Reference S S #descriptionstart-dateend-date Contract CUSTOMER S ticket-#date Service CONTRACT S price idaddressdescription Property PROPERTYCONTRACT E E1 1 numbername Employee addressdate-hired SALESPERSONMANAGER O S S Property-Contract start-timeend-time codemodel-name Truck description SERVICETRUCK E Service-Truck EMPLOYEESERVICE Employee-Service E2 2 E CASH-RECEIPT O S ranodateamountCASH Cash Receipt S3 3 numberdescription Cash S CUSTOMER 4 4 S EQUIPMENTSERVICE Equipment-Service codedescription Equipment 5 E 5 idstart-dateend-date Lease descriptionamountEQUIPMENT E VENDOR idnameaddress VENDOR 5 S 6 7 8 EquipmentType S 9 10 S

4 check-#date Cash Disbursement CASH LEASECASH DISBURSEMENT Lease-CashDisbursement amount S 6 S S 7 VENDOR 8 S codedescription EquipmentType codedescription MaintenanceType 9 S codefrequency Schedule codedescription Maintenance MAINTENANCEMAINTENANCE TYPE Maintenance-MaintenanceType costduration S EQUIPMENT E 10 EquipmentTypeMaintenanceType E E

5 A We give a substantial discount if a customer references another customer and the latter signs a contract. 1 Customers can be referenced only once (by another customer); we only consider the first reference we receive for a customer. Customer references 0,N A B 0,1 DE Most customers do not provide references (< 20%). B A few customers have given us more than one reference. C C Most customers that sign a contract with us have not been referenced by another customer (<15%). D E LL

6 A We record all potential customers in our system – i.e., people we have contacted but have not signed a contract yet. B There is exactly one customer per contract. C We have a very high renewal rate (as I said, our customers are happy with our service). Most of our customers sign a new contract every year. 2 ContractCustomer 0,N CA 1,1 B

7 A It is impossible to record a contract without recording its properties. B We only record the properties that we service (and thus for which a contract exists). C We work with one-year contracts and the contracts need to be renewed for each property every year. 3 ContractProperty 1,N CB A

8 Employee 0,N A There is exactly one manager per contract. F 4 C Most of our managers manage more than one contract B It sometimes takes more than two weeks to find a manager for a contract (after it has been signed) E Contract salesperson manager 1,1 A D When a contract is signed (and recorded), we record the salesperson. There is exactly one salesperson per contract. 0,1 E We expect salespeople to sign at least 20 (!) contracts every year. F Employees who are salespeople can not be managers and vice versa. 0,N FC B D G Obviously, we will have manager information for most contracts (>98%). HL G

9 A Most contracts are signed (and recorded into our system) days or weeks before the first service. B Depending on the weather, there are somewhere between thirty and forty services per contract. C 5 ContractService 0,N BA 1,1 C We never cut a lawn (i.e. provide a service) without having a contract. There is exactly one contract per service.

10 A Our trucks are being used for hundreds of services. B C 6 ServiceTruck 1,N DC AB We only consider trucks that have been used for at least one service. We need transportation (and thus a truck) for every service. D For some services we need more than one truck.

11 A We use two or more employees for most services. B C 7 ServiceEmployee 1,N AB 0,N CD D It is impossible to have a service without an employee. The same employee can cut more than five lawns a day (5 services). Salespeople or managers never cut lawns (and are thus not involved in services).

12 A At the end of the month, …. B C 8 Service Cash Receipt 0,1 BA 0,N CD D We ask them to pay the full amount within thirty days; no installments. … for all services we performed that month. Some of our customers pay a fixed amount at the beginning of the year that covers all their expenses. We give a substantial discount for such prepayments. E Obviously, we have recorded payment (cash receipt) information for most services (>95%). E HL

13 A There is exactly one customer per cash receipt. B C 9 Cash ReceiptCustomer 0,N CB We record all potential customers in our system – i.e., people we have contacted but have not signed a contract yet. We have a very high renewal rate (as I said, our customers are happy with our service). Most of our customers sign a new contract every year. At the end of the month, we ask customers to pay for all services we performed that month. 1,1 A

14 A We immediately deposit all checks from customers into one account (the same account). B 10 Cash Receipt Cash 0,N AC C We immediately deposit all checks from customers into one account (the same account). It is impossible to record a cash receipt without recording its account. We actually opened a second account last month but we haven’t used it yet (no deposits or cash receipts; no withdrawals or cash disbursements). 1,1 B

15 A First, at least one piece of equipment is required for each service. B C 11 ServiceEquipment 1,N0,N BCA Most pieces of equipment are used for thousands of services. We leased a tractor earlier this month that we haven’t used in a service yet.

16 A We need to record the leases for each piece of equipment. Last month, we renewed the lease for one of our tractors (we got a really good deal). B C 12 EquipmentLease 1,N1,1 BCA We need to record a separate lease for each piece of equipment. We lease equipment exclusively; i.e., we don’t lease anything else.

17 A There is exactly one vendor per lease. B C 13 LeaseVendor 1,10,N BCA We record all vendors in the Newark area that lease equipment (and there are many more than you might think). We have done business with less than 15% of them. We lease the two tractors mentioned above (with the 5 year leases) from the same vendor. LL

18 A 14 Lease Cash Disbursement 0,N A Sometimes we pay at the beginning of the lease period, sometimes we pay at the end of the lease period, sometimes we pay the full amount, sometimes we use installments, sometimes we make prepayments, sometimes we pay for multiple leases with one check, …, anything goes! amount

19 A Again, we use the same account for deposits and withdrawals. B 15 Cash Disbursement Cash 0,N AC C There is exactly one (cash) account for each cash disbursement. We actually opened a second account last month but we haven’t used it yet (no deposits or cash receipts; no withdrawals or cash disbursements). 1,1 B

20 A There is exactly one vendor for each cash disbursement. B 16 Cash Disbursement Vendor 0,N CB C We record all vendors in the Newark area that lease equipment (and there are many more than you might think). We have done business with less than 15% of them. Obviously, there can be more than one payment for the same vendor. 1,1 A

21 A There is exactly one “equipment type” for each piece of equipment. B 17 Equipment Type 1,10,N BC C As mentioned above, we have multiple tractors. One of the equipment types in our system is “push lawn mower.” However, we have never leased one and we thus don’t have one. We might lease one down the road. A

22 A There is at least one schedule per equipment type. B 18 Equipment Type Schedule 1,N1,1 C There is exactly one equipment type per schedule. There is at least one schedule per “maintenance type.” A Maintenance Type 1,1 DB 1,N C D There is exactly one “maintenance type” per schedule.

23 A We have a brand new tractor that hasn’t required maintenance yet. B C 19 EquipmentMaintenance 0,N BA 1,1 However, some of our older tractors have had maintenance hundreds of times. There is exactly one piece of equipment per maintenance C

24 A At least one “maintenance type” is required per maintenance. B C 20 Maintenance Type 0,N B 1,N We want to record all possible “maintenance types” in our system, even when we don’t need them. A durationcost C The MAX-Cardinality is “N” since there are relationship attributes.


Download ppt "Newark Lawn Care (NLC). ServiceEmployee ContractProperty salespersonmanager 1,1 Customer 0,N Cash Receipt Truck Equipment Cash Disbursement Lease Cash."

Similar presentations


Ads by Google