Sunteți pe pagina 1din 24

FASHION SHOP

Môn C# Group
CE130104 Vu Van Hoang Lecturer
CE130082 Le Nhat Quang Vo Hong Khanh
CE130220 Bui Nguyen Nhat Tam
CE130015 Nguyen Duy Thanh

TABLE OF CONTENT
I. Problem definition....................................................................................................................3
II. User requirement......................................................................................................................4
1. Functions..................................................................................................................................4
2. Hardware.................................................................................................................................6
III. Schedule and role......................................................................................................................8
IV. Design pattern.........................................................................................................................10
1. System Organization.............................................................................................................10

Biti’s Shoe Store PRJ321 Desktop Java Applications 1|Page


a. Use-case diagram...............................................................................................................10
b. Class diagram.....................................................................................................................13
2. Interface.................................................................................................................................17
a. DB Diagram........................................................................................................................17
b. Table structure...................................................................................................................18
3. Interface.................................................................................................................................20
a. For Admin..........................................................................................................................20
b. For Client...........................................................................................................................20
V. Execution flow.........................................................................................................................21
VI. Maintenance...........................................................................................................................22
VII. Check list.................................................................................................................................23

Biti’s Shoe Store PRJ321 Desktop Java Applications 2|Page


I. Problem definition
Nowadays, sports shoes are becoming more and more popular. It is very versatile
because it can be used in sports, walking, studying and partying. In addition, it is
suitable for all ages and extremely modern design with the same technology.
There are many famous sneaker brands in the world such as Nike, Adidas, ...But we
chose Biti’s to create a website for selling Biti’s shoes. The reason we chose it is
because Biti’s is a famous local brand. Biti's sneakers are also fashionable and the
prices are very reasonable.

igure 1. Biti’s shoes shop

Biti’s Shoe Store PRJ321 Desktop Java Applications 3|Page


II. User requirement
1. Functions

a) For manager by role


- Login, logout
- Change infomation account
- Manage product: search product, looking for bad seller product,
looking for best seller product.
- Manage staff: search staff, producttivity charts are employee jobs.
- Manage customer: search customers, looking for vip customers.
- Manage revenus
 see revenue: search for receipts
 view report: 3 months, month, year.

b) For admin by role


- Login, logout
- Manager account: customer, create account, change info, delete
account, change pass, create status.
- Manager type of product: create type, edit type, delete type, create
status.
- Manager product: create product, edit product, delete product, create
status
- Manager account admin: create account, delete account, change info,
change pass

Biti’s Shoe Store PRJ321 Desktop Java Applications 4|Page


c) For employee by role
- Register: input information, input password
- Login, logout
- Employee: view information, change information, save
- Search
+ Search product: price product, information product, color
+ Search infor customer: name, number phone, address, identity
card
- Create bill
+ Information customer: export bill
+ Information product: export bill
+ Date sell: export bill
+ Code bill: export bill
+ Information employee: export bill

d) For customer by role


- Reset password
- Login, logout
- View account infor: change account info, change password
- View product
+ Choose product
+ Buy product: choose payment type, choose transpot type, input
name and address, bill
- Search products: size, color, price, show result
- Register: active by email

Biti’s Shoe Store PRJ321 Desktop Java Applications 5|Page


2. Hardware
a. For server

Hardware requirement Hardware requirement


(minimal configuration) (recommended configuration)

 CPU: 4GHZ Dual Core or 3GHZ


 CPU: 500 MHz processor
processor
 RAM: 2GB RAM
 RAM: 4GB RAM
 HDD: 500MB of free disk space
 HDD: 1GB of free disk space

b. For client

Hardware requirement Hardware requirement


(minimal configuration) (recommended configuration)

 CPU: 4GHZ Dual Core or 3GHZ


 CPU: 500 MHz processor
processor
 RAM: 2GB RAM
 RAM: 4GB RAM
 HDD: 500MB of free disk space
 HDD: 1GB of free disk space

Biti’s Shoe Store PRJ321 Desktop Java Applications 6|Page


3. Software
a. For server

Software requirement

 Window 7 or higher
 JRE 1.7 or higher

b. For client

Software requirement

 Window 7 or higher
 JRE 1.7 or higher

Biti’s Shoe Store PRJ321 Desktop Java Applications 7|Page


III. Schedule and role
1. Role
N
Name of member Role Responsibility
o
1 HoangVV Leader Assignment of tasks
2 TamBNN,HoangVV,ThanhND Analyst Define problem, input, output, process
3 NhaTT, HoangVV,CuongPN Design Design interface
TamBNN, HoangVV,
4 Coder Program all functions for project
NhaTT,ThanhND,CuongPN
5 TamBNN, HoangVV, NhaTT Tester Testing all functions for project
Maintenane
6 ThanhND,CuongPN,NhaTT Check and backup data
r

Biti’s Shoe Store PRJ321 Desktop Java Applications 8|Page


2. Schedule
Estimated
No. Document Name Date number of hours Member names
completed
1 Problem definition 26/09/2019 3 Tâm,Hoàng,Nhã
2 User requirement 27/09/2019 3 Thanh,Cường
3 Analysis 29/09/2019 24 Tâm,Hoàng,Nhã, Thanh,Cường
4 Making document 30/09/2019 5 Tâm,Thanh,Cường
5 Design database diagram 01/10/2019 24 Hoàng,Tâm,Nhã
Hoàng,Nhã,Tâm,
6 Coding demo 09/10/2019 24
Thanh, Cường
7 Testing demo 17/10/2019 24 TamBNN, HoangVV, NhaTT
8 Design Powerpoint 21/10/2019 5 TamBNN
9 Design Interface 25/10/2019 12 TamBNN, HoangVV, NhaTT
10 Edit code 28/10/2019 12 TamBNN, HoangVV, NhaTT
11 Check code 31/10/2019 12 TamBNN, HoangVV, NhaTT
12 Test-Fix error 02/11/2019 12 TamBNN, HoangVV, NhaTT
13 Complete code 07/11/2019 3 TamBNN, HoangVV, NhaTT
14 Testing final 10/11/2019 3 TamBNN, HoangVV, NhaTT
15 Check Document 12/11/2019 3 TamBNN, HoangVV, NhaTT
16 Complete Project 13/11/2019 3 TamBNN, HoangVV, NhaTT

Biti’s Shoe Store PRJ321 Desktop Java Applications 9|Page


IV. Design pattern
1. System Organization
a. Use-case diagram

Figure 1. Use case Shoes store of manager

Biti’s Shoe Store PRJ321 Desktop Java Applications 10 | P a g e


Figure 2. Use case Shoes store of admin

Figure 3. Use case Shoes store of employee

Biti’s Shoe Store PRJ321 Desktop Java Applications 11 | P a g e


Figure 4. Use case Shoes store of customer

Biti’s Shoe Store PRJ321 Desktop Java Applications 12 | P a g e


b. Class diagram

Biti’s Shoe Store PRJ321 Desktop Java Applications 13 | P a g e


Biti’s Shoe Store PRJ321 Desktop Java Applications 14 | P a g e
Biti’s Shoe Store PRJ321 Desktop Java Applications 15 | P a g e
c. Sequence diagram

Figure 5. Add a new product

Biti’s Shoe Store PRJ321 Desktop Java Applications 16 | P a g e


Figure 6. Add a new picture for product

Biti’s Shoe Store PRJ321 Desktop Java Applications 17 | P a g e


2. Interface
a. DB Diagram

Figure 7. Database diagram

Biti’s Shoe Store PRJ321 Desktop Java Applications 18 | P a g e


b. Table structure
Table 1. Account admin
Field Name Data Type Constraint Description
admin_id int PRIMARY KEY ID’s admin
varchar(250
full_name NOT NUL Full name’s admin
)
varchar(100
username NOT NULL Username’s admin
)
password varchar(32) NOT NULL Password’s admin
varchar(100
email NOT NULL Email’s admin
)
status int NOT NULL Status’s admin

Table 2. Account customer


Field Name Data Type Constraint Description
admin_id int PRIMARY KEY ID’s customer
full_name varchar(250) NOT NUL Full name’s customer
username varchar(100) NOT NULL Username’s customer
password varchar(32) NOT NULL Password’s customer
email varchar(100) NOT NULL Email’s customer
gender boolean NOT NULL Gender’s customer
picture varchar(200) NOT NULL Picture’s customer
status int NOT NULL Status’s customer

Table 3. Products
Field Name Data Type Constraint Description
p_id int PRIMARY KEY ID’s product
varchar(250
name NOT NULL Name’s product
)
price int NOT NULL Price’s product
size int NOT NULL Size’s product
color varchar(50) NOT NULL Color’s product
status int NOT NULL Status’s product
type_id int FOREIGN KEY Type’s product

Table 4. Type product


Field Name Data Type Constraint Description
type_id int PRIMARY KEY ID’s type
type_name varchar(250) NOT NULL Name’s type
description text NOT NULL Description’s type
status int NOT NULL Status’s type

Biti’s Shoe Store PRJ321 Desktop Java Applications 19 | P a g e


Table 5. Oders
Field Name Data Type Constraint Description
order_id int PRIMARY KEY ID’s order
admin_id int NOT NULL ID’s admin
customer_id int NOT NULL ID’s customer
address varchar(200) NOT NULL Address’s order
receiver varchar(150) NOT NULL Receiver’s order
date_buy datetime NOT NULL Date buy’s order
date_ship datetime NOT NULL Date ship’s order
pay_id int NOT NULL ID’s payment
transport_id int NOT NULL ID’s transport
status int NOT NULL Status’s order

Table 6. Oder item


Field Name Data Type Constraint Description
order_id int PRRIMARY KEY ID’s order
quantity int NOT NULL Quantity’s item
price int NOT NULL Price’s item
p_id int FOREIGN KEY ID’s product

Table 7. Image
Field Name Data Type Constraint Description
image_id int PRIMARY KEY ID’s image
image_link varchar(200) NOT NULL Link’s image
p_id int FOREIGN KEY ID’s product

Table 8. Payment
Field Name Data Type Constraint Description
pay_id int PRIMARY KEY ID’s payment
varchar(100
pay_type NOT NULL Type’s payment
)
status int NOT NULL Status’s payment

Table 9. Transport
Field Name Data Type Constraint Description
transport_id int PRIMARY KEY ID’s transport
transport_type varchar(100) NOT NULL Type’s transport
status int NOT NULL Status’s transport

Biti’s Shoe Store PRJ321 Desktop Java Applications 20 | P a g e


3. Interface
a. For Admin
b. For Client

Biti’s Shoe Store PRJ321 Desktop Java Applications 21 | P a g e


V. Execution flow

Biti’s Shoe Store PRJ321 Desktop Java Applications 22 | P a g e


VI. Maintenance
Everyday, we always upload all data in Google Drive and send that our program to each
member in group. By this way, we don’t worry that our program will be destroyed or lost and
we are sure each member in group can be understand program.

Figure 8. Backup Data

Biti’s Shoe Store PRJ321 Desktop Java Applications 23 | P a g e


VII. Check list
Estimated
number
No Document Complete Real
Date of hours Member names Note
. Name time time
complete
d
Problem 12:00
1 26/09/2019 3 3 Tâm,Hoàng,Nhã Complete
definition 28/09/2019
User 23:00
2 27/09/2019 3 3 Thanh,Cường Complete
requirement 29/09/2019
12:00 Tâm,Hoàng,Nhã,
3 Analysis 29/09/2019 24 24 Complete
30/09/2019 Thanh,Cường
Making 20:00
4 30/09/2019 5 9 Tâm,Thanh,Cường Complete
document 10/10/2019
Design
23:00
5 database 01/10/2019 24 24 Hoàng,Tâm,Nhã Complete
05/10/2019
diagram
23:00 Hoàng,Nhã,Tâm,
6 Coding demo 09/10/2019 24 24 Complete
15/10/2019 Thanh, Cường
12:00
7 Testing demo 17/10/2019 24 24 Hoàng, Nhã, Tâm Complete
17/10/2019
Design 20:00
8 21/10/2019 5 5 Thanh, Cường Complete
Powerpoint 21/10/2019
Design 23:00
9 25/10/2019 12 12 Hoàng, Tâm, Nhã Complete
Interface 25/10/2019
12:00
10 Edit code 28/10/2019 12 13 Cường, Thanh, Hoàng Complete
28/10/2019
22:30
11 Check code 31/10/2019 12 10 Hoàng, Nhã, Tâm Complete
31/10/2019
12:00
12 Test-Fix error 02/11/2019 12 15 Cường, Nhã, Thanh Complete
02/11/2019
20:00
13 Complete code 07/11/2019 3 4 Hoàng, Nhã, Tâm Complete
07/11/2019
22:00
14 Testing final 10/11/2019 3 Hoàng, Thanh, Tâm Complete
10/11/2019
Check 21:00
15 12/11/2019 3 3 Tâm, Cường, Thanh Complete
Document 12/11/2019
Complete 21:00 Hoàng, Nhã, Cường,
16 13/11/2019 3 3 Complete
Project 13/11/2019 Thanh, Tâm

Biti’s Shoe Store PRJ321 Desktop Java Applications 24 | P a g e

S-ar putea să vă placă și