LECTURER:
NIYIGENA PAPIAS Ph D
COMPILED BY:
TABLE OF CONTENTS
I. INTRODUCTION……………………………………………………………..2
II. SYSTEM REQUIREMENTS………………………………………….………2
IN GENERAL……………………………………………………………………………..……………..2
DATA REQUIREMENTS………………………………………………………………..…………..3
I. INTRODUCTION
A music shop is a warehouse where people can come and buy music in digital or
physical format.
The selling is done either in a building/room or in a virtual space or even both.
The basic aim of this system is to computerize the way employees keep all transactions, and
to facilitate customers to do their commands. All of this must be recorded in the system so
employees can store all music details, and customer’s details and commands.
The advantage of the implementation of this system is that the subscribers can get the music
even very far they are.
Objective:
In any time, we can easily find all information about subscribers, music, and its
details. The employee will find it easy in the automated system rather than using the manual
writing system. The subscriber can download any content he need even if he is very far from
the shop buildings/rooms. The system contains a database where all the information will be
safely stored.
N.B: This system is designed to facilitate customers to download music, and doesn’t include
the management of employees, or many details about artists, the country of publishing, etc...
IN GENERAL:
- The system must allow employees to enter data in the system in anytime.
- The system must allow visitors to subscribe to the shop, and subscribers to
download any content they want. All payments will be done at a bank, and
costumers shall have to present bank slips to confirm the subscription.
- The system must do all calculations and provide updated reports every time.
3
- Employees must log in the system before recording anything, and once
recorded data can’t be modified. Subscribers shall also login before
downloading anything.
- All things must be done safety, that is why there are some constraints in data
types:
1. Integer: must have one optional sign character (+ or -) followed
by at least one digit (0-9). Leading and trailing blanks are
ignored. No other character is allowed here.
2. Varchar: it will be used to store alphanumeric characters. In this
data type we can set the maximum number of characters up to
8000 ranges by defaults our DBMS SQL Server will set the size
to 50 characters range.
3. Date: here no parameters are required when declaring the date
data type. Date values should be specified in the form YYYY-
MM-DD.
4. Time: Time values should be specified in the form: HH:MM:SS.
DATA REQUIREMENTS:
A. Entities:
- EMPLOYEE
- CUSTOMER
- DOWNLOAD
- MUSIC
B. Attributes:
- EMPLOYEE:
employee_id
function
names
gender
contact_number
email
username
4
password
- CUSTOMER:
customer_id
names
registration_date
last_subscription_date
subscription_category
username
password
- DOWNLOAD:
download_id
download_date
music_id
customer_id
- MUSIC:
music_id
category
title
artist
publisher
other_details
V. ENTITY-RELATIONSHIP DIAGRAM
8
When you choose a song you are asked to log in or to create an account:
9
Registration page:
Once you are logged in and you want to download, you have to right-click on the
song and choose “save as”:
10