1.
Removed Report entity
2.
Added Residential and NonResidential entities
to customer as subtype.
3.
Added watermeter_id to Reading
entity to provide a 1:N relationship
4.
Added meterreader_id to
WaterMeter entity to provide a 1:N relationship
5.
Added reading_date to Reading
entity and removed lastmeterread
6.
Added status to WaterMeter
entity
7.
Added Account Entity
8.
Added serial number on water
meter
Attribute |
Description |
Required? |
Not Null? |
Key |
Data type(size) |
CustomerID |
Unique ID for each customer |
Yes |
Ö |
Primary |
Varchar2 (7) |
CustomerName |
Customer’s Name |
Yes |
Ö |
|
Char (100) |
CustomerType |
Customer’s Type |
Yes |
Ö |
|
Char (30) |
Attribute |
Description |
Required? |
Not Null? |
Key |
Data type(size) |
ResidentialID |
Unique ID of residential |
Yes |
Ö |
Primary |
Varchar2 (7) |
CustomerID |
Unique ID of customer |
Yes |
Ö |
Foreign |
Varchar2 (7) |
Address |
Customer’s Address |
Yes |
Ö |
|
Varchar2 (100) |
Attribute |
Description |
Required? |
Not Null? |
Key |
Data type(size) |
NonresidentialID |
Unique ID of
non-residential |
Yes |
Ö |
Primary |
Varchar2 (7) |
Customer_ID |
Unique ID of customer |
Yes |
Ö |
Foreign |
Varchar2 (4) |
Address |
Customer’s Address |
Yes |
Ö |
|
Varchar2 (100) |
Attribute |
Description |
Required? |
Not Null? |
Key |
Data type(size) |
WatermeterID |
Unique ID assigned for
each watermeter |
Yes |
Ö |
Primary Foreign |
Varchar2 (10) |
CustomerID |
Unique ID of customer |
Yes |
Ö |
Foreign |
Varchar2 (7) |
MeterreaderID |
Meterreader who reads the
watermeter |
Yes |
Ö |
Foreign |
Varchar2 (7) |
WMAddress |
Address of watermeter deployed |
Yes |
Ö |
|
Varchar2 (100) |
DeployedDate |
Date watermeter deployed |
Yes |
Ö |
Related Questions in computer science category
Get Higher Grades Now
Tutors Online
Get Free Quote! 366 Experts Online |
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
30 | 31 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 1 | 2 | 3 |