Water Refilling Station System Database Design

Water Refilling Station System Database Design Description

Water Refilling Station system Database Design is created using MySQL database. This project will be programmed in java that can enable the user to record things that are being purchased by the client.

The water refilling station management system in java is capable of viewing the item that is already delivered. Setting up a water refilling station whereby the station will cater to the reproduction of water through selling large and small amounts of volume.

Purpose

The purpose of this system is to help its clients for an easier and efficient management of stations without sacrificing costs or output. This system is custom made for water refilling stations only.

Basic Features

  • MANAGE USERS (Add, List Update)
  •  DELIVERY (CONFIRM , CANCEL)
  • PRODUCT (ADD , UPDATE , DELETE

Entity Relationship Diagram

Water Refilling Station System Entity Relationship Diagram shows the system entity relationships in each entity and their supposed functions in each relationship.

water refilling station database design with tables
water refilling station database design with tables

Database Dictionaries

The water refilling station system database design tables are provided with the entire database details such as Field Name, Descriptions, data types, character lengths.

 

Table 1:CUSTOMER

Field NameDescriptionTypeLength
Customer_id(PK)Number of Customerint11
FnameFirstName of Customervarchar50
LnameLastName of Customervarchar50
AddressCustomer Full addressvarchar50
AgeAge of Customerint2
DATEDATEvarchar11
TIMETIMEvarchar11

Table 2: DELIVERY

Field NameDescriptionTypeLength
DELIVERY_ID(PK)Delivery ID numberInt7
CUSTOMER_ID(FK)Customer ID Numberint11
PRODUCT_ID(FK) Product ID numberint50
CONTAINER_ID(FK)Container ID Numberint11
FIRST_NAMEFirst Name Of Customerint11
LAST_NAMELast Name Of customerVarchar50
ADDRESSAddress Of CustomerVarchar50
DATEDateVarchar11
TIMETimeVarchar11
CONTAINERSContainersVarchar11
PRODUCT_NAMEName Of The ProductVarchar50

Table 3:EMPLOYEE

Field NameDescriptionTypeLength
EMPLOYEE_ID(PK)Employee ID numberInt11
FIRST_NAMEEmployee Firstnamevarchar30
LAST NAMEEmployee Last Namevarchar30
LOCATIONLocation of Employeevarchar50
AGEAge Of Employeevarchar11
DATEDatevarchar11
TIMETimevarchar11
CONTACT_NOContact Number of employeevarchar11

Table 4: PRODUCT

Field NameDescriptionTypeLength
PRODUCT_ID(PK)Product ID numberInt11
PRODUCT_NAMEName of the Productsvarchar50
DESCRIPTIONDescription of Productsvarchar50
QUANTITYQuantity of productsint1
ON_HANDNot Availablevarchar11
UNIT_PRICEPrice of items           int1

Table 5: TYPES_OF_CONTAINER

Field NameDescriptionTypeLength
CONTAINER_ID(PK)Container ID numberInt11
CONTAINERS number of Contaninersint11
QUANTITYCustomer Suggested ORDERvarchar50
ON_HANDAvailable and Not AvailableVarchar30
UNIT_PRICEPrice Of Containersint1

Table 6: PAYMENTS

Field NameDescriptionTypeLength
PAYMENT_ID(PK)Payment ID numberInt11
CUSTOMER_ID(FK) Customer ID Numberint11
DATE_ORDERDate Of ORDERvarchar50
DATE_CLAIMDate Of Claimvarchar30
QUANTITYCustomer Suggested Orderint1
UNIT_PRICEPrice Of Order          int             11

 TABLE KEYS

sTable NameField NameKey Type
CUSTOMERCustomer_IDPK
EMPLOYEE Employee_IDPK
DELIVERYDelivery_IDPK
PRODUCTProduct_IDPK
TYPES_OF_CONTAINERContainer_IDPK
PAYMENTSPayment_IDPK
TRANSACTIONTransaction_IDPK

This project was created by JERIMYKIRK G. ERIMAN

 

How to read an ER diagram

An entity-relationship (ER) diagram documents the database schema: entities (tables), attributes (columns), and relationships (foreign keys and cardinality).

  • Entity. Rectangle representing a table.
  • Attribute. Oval or field for each column.
  • Primary key. Underlined attribute name.
  • Foreign key. Attribute referencing another entity.
  • Relationship. Diamond or line connecting related entities.

Common capstone mistakes to avoid

  • Many-to-many without junction table.
  • Missing primary key.
  • Denormalized redundancy.
  • Ambiguous naming.

Where this diagram fits in Chapter 3

  • Section 3.3 (Database Design).
  • Include the CREATE TABLE SQL script alongside.
  • Reference from the class diagram.
  • Include a legend to explain the notation for panel members.

Frequently asked questions

What is a ER diagram used for in BSIT capstone?

An ER diagram shows the database schema: entities (tables), attributes (columns), and relationships (foreign keys, cardinality). It goes in Chapter 3 alongside the class diagram to communicate the data storage design.

What tool should I use to draw the ER diagram?

Free options: draw.io, Lucidchart free tier, PlantUML, StarUML 30-day trial, Visual Paradigm Community Edition. Paid options: Microsoft Visio, Lucidchart pro, Enterprise Architect. For BSIT capstones, draw.io is the most commonly used free tool.

How detailed does the ER diagram need to be for capstone defense?

Panel members expect the diagram to match the actual system implementation. Include every major class/use case/entity relevant to the system. Omit trivial helper classes. Every diagram element should have a clear justification.

Should I use black-and-white or colored diagrams?

Black-and-white is standard for capstone documentation to match the thesis format. Use color only if it improves clarity. Ensure text is readable at printed size (10pt minimum for labels).

Where does this diagram go in the capstone documentation?

Chapter 3 (System Design and Methodology) typically holds all UML diagrams. Introduce each diagram with a 1-paragraph description explaining what it shows and how to read it.

Frequently asked questions

What is a ER diagram used for in BSIT capstone?

An ER diagram shows the database schema: entities (tables), attributes (columns), and relationships (foreign keys, cardinality). It goes in Chapter 3 alongside the class diagram to communicate the data storage design.

What tool should I use to draw the ER diagram?

Free options: draw.io (browser-based, saves to Google Drive), Lucidchart free tier, PlantUML (text-based, version-controllable), StarUML (30-day trial then reduced feature set), Visual Paradigm Community Edition. Paid options: Microsoft Visio, Lucidchart pro, Enterprise Architect. For BSIT capstones, draw.io is the most commonly used free tool.

How detailed does the ER diagram need to be for capstone defense?

Panel members expect the diagram to match the actual system implementation. Include every major class/use case/entity relevant to the system. Omit trivial helper classes. Every diagram element should have a clear justification. Aim for 1-2 diagrams that fully cover the system, not many partial ones.

Should I use black-and-white or colored diagrams?

Black-and-white is standard for capstone documentation to match the thesis format. Use color only if it improves clarity (e.g., grouping subsystems). Ensure text is readable at printed size (10pt minimum for labels).

Where does this diagram go in the capstone documentation?

Chapter 3 (System Design and Methodology) typically holds all UML diagrams. Introduce each diagram with a 1-paragraph description explaining what it shows and how to read it. Reference specific elements in the surrounding text so panel members can follow the design rationale.

Joken E. Villanueva


Founder & Lead Developer at PIES IT Solution

Founder of PIES Information Technology Solutions, a software company building production-grade applications for institutions across the Philippines. Over 8 years of hands-on full-stack development experience, currently leading the development of ClinicAI, an AI-powered clinic management platform.

Expertise: PHP · MySQL · JavaScript · AI Integration · SaaS Architecture · VB.NET · Database Design · Capstone Documentation · Java
 · View all posts by Joken E. Villanueva →

5 thoughts on “Water Refilling Station System Database Design”

Leave a Comment