SRS Group6 ShopManagement WebBased
SRS Group6 ShopManagement WebBased
SPECIFICATION
FOR
SHOP
MANAGEMENT
Instructor: Phạm Ngọc Hà
Class: SE1218
Group: 6
Member: Nguyễn Ngọc Phước – SE05665
Nguyễn Quang Huy – SE06034
Đỗ Văn Công – SE06058
Software Requirement Specification – Shop Management 2
CONTENTS
1 Introduction ............................................................................................................................. 3
2 Scope ....................................................................................................................................... 3
3 Overall description .................................................................................................................. 3
4 Specific requirement ............................................................................................................... 3
4.1 Functional requirement ................................................................................................... 3
4.1.1 Use case diagram .................................................................................................... 3
Admin usecase .................................................................................................................... 5
Seller Use Case ................................................................................................................... 9
Buyer use case................................................................................................................... 13
4.2 Non-functional requirement .......................................................................................... 22
4.2.1 Usability ................................................................................................................ 22
4.2.2 Performance .......................................................................................................... 22
4.2.3 Modifiability ......................................................................................................... 23
4.3 Design constraints ......................................................................................................... 23
4.4 Assumption and dependencies ...................................................................................... 23
4.5 Interfaces ....................................................................................................................... 23
4.5.1 User interfaces ...................................................................................................... 23
4.5.2 Hardware interfaces .............................................................................................. 23
4.5.3 Software interfaces................................................................................................ 23
4.5.4 Communication interfaces .................................................................................... 23
5 Entity relationship diagram ................................................................................................... 23
Software Requirement Specification – Shop Management 3
1 INTRODUCTION
The SRSFSM document will provide developers, testers a complete overview of both the
functional requirement and non-functional requirements of the Shop Management system.
Developers base on this document to develop the system, and tester base on this to assure the
quality of the output system. Project manager base on this document to create schedule and
assign task to team members.
2 SCOPE
The project team will create an e-commerce site that connects buyers and sellers. Buyers will get
an overview of the product they want to make a decision to buy. Sellers can bring their products
to consumers more quickly and conveniently.
3 OVERALL DESCRIPTION
The system includes information of all products from thousands of sellers around the world, a
place for consumers to compare prices and reviews from different vendors for the same product
to may have the best decision. We have two customers:
- Seller
- Buyer
4 SPECIFIC REQUIREMENT
4.1 FUNCTIONAL REQUIREMENT
ADMIN USECASE
UC 01: Login
Alternative flow
Alternative flow
Alternative flow
Alternative flow
Alternative flow
Software Requirement Specification – Shop Management 13
Log in UC-12
Pre/event User is in the home page
Post/description User Log in Shop management
System Shop management
Actors User
Related use case None
Normal flow
Actor’s event System response
1. Enter phone or email and password and
click “Login” button
2. Redirects actor to Homepage
Exceptions
At step 1, actor don’t enter username and password
1. Don’t enter information but still clicks
“Login” button
2. Display error message
At step 1, actor enter wrong username or password
1. Enter wrong phone or email or password
2. Display error message
Alternative flow
Actor chooses to log in with Gmail account ( Facebook similar)
1. Click on the “Login with Gmail” button
2. Redirects actor to “Sign in with google”
page
3. Choose Gmail account belong to actor
4. Redirects actor to Homepage
Log in UC-13
Pre/event User is in the home page
Post/description User Log in Shop management
System Shop management
Actors User
Related use case None
Normal flow
Actor’s event System response
1. Enter phone or email and password and
click “Login” button
2. Redirects actor to Homepage
Exceptions
At step 1, actor don’t enter username and password
Software Requirement Specification – Shop Management 15
UC14: Logout
1. Click “Any category ”span link in Formatted: Indent: Left: 0.22", Hanging: 0.2", Numbered +
menu Level: 1 + Numbering Style: 1, 2, 3, … + Start at: 1 +
Alignment: Left + Aligned at: 0.5" + Indent at: 0.75", Tab
2. Forward actor to list product of this span link stops: Not at 0.5"
3. Click “Any product” text link in menu Formatted: Indent: Left: 0.23", Numbered + Level: 1 +
4. Forward actor to category page Numbering Style: 1, 2, 3, … + Start at: 1 + Alignment: Left +
Aligned at: 0.5" + Indent at: 0.75", Tab stops: Not at 0.5"
Exceptions
Formatted: Indent: Left: 0.22", Hanging: 0.2", Numbered +
Level: 1 + Numbering Style: 1, 2, 3, … + Start at: 1 +
Alternative flow Alignment: Left + Aligned at: 0.5" + Indent at: 0.75", Tab
stops: Not at 0.5"
Formatted: Indent: Left: 0.23", Numbered + Level: 1 +
Numbering Style: 1, 2, 3, … + Start at: 1 + Alignment: Left +
Aligned at: 0.5" + Indent at: 0.75", Tab stops: Not at 0.5"
UC20. Rating
Rating UC-20
Pre/event User is in the information product page
Post/description User choose rating in the information page
System Shopping management
Actors User
Related use case None
Normal flow
Actor’s event System response
1. Click ”Number of Rating” span link Formatted: Numbered + Level: 1 + Numbering Style: 1, 2,
near icon 3, … + Start at: 1 + Alignment: Left + Aligned at: 0.25" +
Indent at: 0.5", Tab stops: Not at 0.5"
2. Forward to the bottom of product page
Formatted: Numbered + Level: 1 + Numbering Style: 1, 2,
Exceptions 3, … + Start at: 1 + Alignment: Left + Aligned at: 0.25" +
Indent at: 0.5", Tab stops: Not at 0.5"
Alternative flow
Software Requirement Specification – Shop Management 19
UC21. Review
Review UC-21
Pre/event User is in the information product page
Post/description User watching review for product
System Shopping management
Actors User
Related use case None
Normal flow
Actor’s event System response
1. Click “Number of Review” span link near
icon stars
2. Forward actor to the bottom of product
page
Exceptions
Alternative flow
Alternative flow
4.2.1 USABILITY
The UI will be clear, simple, easy to use.
4.2.2 PERFORMANCE
1. The loading time of a page will be less than 2 seconds. It still largely depends on the Internet
connection strength and the computer’s speed.
1. The time it takes for the search engine to display results will be less than 2 seconds.
Software Requirement Specification – Shop Management 23
4.2.3 MODIFIABILITY
The code will be organized base on coding standard so that it can be easily modify and improve
in the future.
It is assumed that the users have at least basic computer skill and knowledge how to access a
website.
4.5 INTERFACES
ENTITY DETAIL
Product
ProductID varchar
ProductName nvarchar
CategoryID varchar
Software Requirement Specification – Shop Management 25
Price float
UnitPrice float
UnitInStock int
UnitOnOrder int
Image varchar
Discount float
SellerID varchar
Seller
SellerID varchar
SellerName nvarchar
CompanyName nvarchar
Address nvarchar
Email nvarchar
Phone varchar
Image varchar
RankID varchar
Seller_Account
SellerID varchar
Username varchar
Password varchar
Buyer
BuyerID varchar
BuyerName nvarchar
Sex bit
Software Requirement Specification – Shop Management 26
Birthday date
Address nvarchar
Email nvarchar
Phone varchar
Image varchar
RankID varchar
Buyer_Account
BuyerID varchar
Username varchar
Password varchar
Order
OrderID varchar
BuyerID varchar
OrderDate date
ShipCompanyID varchar
ShipDate date
OrderDetail
OrderID varchar
ProductID varchar
ProductName nvarchar
Quantity int
Software Requirement Specification – Shop Management 27
ShipCompany
ShipCompanyID varchar
ShipCompanyName nvarchar
Address nvarchar
Email nvarchar
Phone varchar
Category
CategoryID varchar
CategoryName nvarchar
Description nvarchar
Image varchar
Seller_Rank
RankID varchar
RankName nvarchar
Fee float
Buyer_Rank
RankID varchar
RankName nvarchar
Discount float
Review
Software Requirement Specification – Shop Management 28
ReviewID varchar
ProductID varchar
BuyerID varchar
Time date
Rating int
Content nvarchar
Question
QuestionID varchar
ProductID varchar
BuyerID varchar
BuyerID varchar
Time date
Content nvarchar