0% found this document useful (0 votes)
7 views1 page

Database ER Diagram

Uploaded by

shritis2004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Database ER Diagram

Uploaded by

shritis2004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

COMPLAINT

1
PK complaintID int
M
FK userID int
1 FK statusID int
description varchar
date date
USER
1
PK userID int
EVIDENCE
name varchar
M PK evidenceID int
DOB date
FK complaintID int
address varchar
Entity description varchar
phonenumber int
Employee ID Type type varchar
email varchar
Name Type Entity
age int
Address Type Field PK STATUS
M
Field Type Field Type PK statusID int
Field Type last_updated varchar
description varchar
date_created date
Add different endpoints by selecting a line
and choosing from the dropdown in the top
panel.

LOCATION
M
Customize class shapes by selecting them
and editing them in the contextual panel that PK locationID int
POLICE_STATION
Entity Entity appears. 1 city varchar 1
PK stationID int
Field Type Field Type country varchar
1 name varchar
Field Type Field Type address varchar
phonenumber varchar
Field Type Field Type state varchar
FK locationID int
Field Type Field Type 1
branch varchar

OFFICER
PK officerID int
M name varchar
FK stationID int
DEPARTMENT badge_no int
Entity
PK departmentID int
Key Field Type M
FK locationID int
Key Field Type M
name varchar
Key Field Type
headofdept varchar

You might also like