1. Trang chủ
  2. » Luận Văn - Báo Cáo

Subject analysis and design of information systems

42 0 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Analysis and design of information systems
Tác giả Dương Tuấn Nam, Nguyễn Cao Hà Phương, Lê Như Quỳnh
Trường học Posts And Telecommunications Institute Of Technology
Chuyên ngành Information Systems
Thể loại Đồ án tốt nghiệp
Năm xuất bản 2024
Thành phố Hanoi
Định dạng
Số trang 42
Dung lượng 5,57 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

- create new material -> UC create material- modify material->UC edit material - view material->UC view material - delete material -> UC delete material - search/select material -> UC se

Trang 1

MINISTRY OF INFORMATION AND COMMUNICATIONS POSTS AND TELECOMMUNICATIONS INSTITUTE OF TECHNOLOGY

SUBJECT: ANALYSIS AND DESIGN OF INFORMATION SYSTEMS Course group name: 11

Group topic name: Hệ thống quản lý cửa hàng spa

Project group name: 06

Students: Dương Tuấn Nam- B21DCCN543

Nguyễn Cao Hà Phương - B21DCAT017

Lê Như Quỳnh - B21DCCN106

Module: M3

The required name of the lesson: Requirement and Analysis

Hanoi, 2024

Trang 2

- login page appears -> login

- main manager homepage -> view manager homepage

- select to manage materials

- interface of managing -> view managing page

Trang 3

- create new material -> UC create material

- modify material->UC edit material

- view material->UC view material

- delete material -> UC delete material

- search/select material -> UC select material

- UC view manager homepage enables manager to see manager homepage

- UC view managing page enables manager view managing page

- UC view material enables manager view information of materials

- UC create material enables manager add new material into database

- UC edit material enables manager edit material information

- UC delete material enables manager delete material

- UC select material enables manager to search and select material2.2 Import materials

- login page appears -> login

- main staff homepage -> view staff homepage

- select to import materials

- interface of importing-> view importing page

- search provider-> UC search provider

- search material-> UC search material

- add provider (if not exist) -> UC add provider

Trang 4

- add new material (if not exist)-> UC add material

- confirm/ save importing-> confirm

- UC view staff homepage enables staff to see staff homepage

- UC view importing page enables staff view importing page

- UC Search/select provider enables staff to search and select a provider

- UC Search/select material enables staff to search and select material

- UC Enter quantity/price enables staff to enter quantity and price for importing materials

- UC confirm enables staff to confirm and save the bill

- UC Add provider enables staff add new provider if a provider does not exist in database

- UC Add material enables staff add new material if material does not exist2.3 View statistic material by revenue

- login page appears -> login

- main manager homepage -> view manager homepage

- select to view statistic reports

- interface of view report-> view statistic page

- select to view statistic material

- interface of view statistic materia-> UC view statistic materia page

- select start date/end date -> UC select dates

Trang 5

- click on a material to view detail -> UC view detail a material

- UC view manager homepage enables manager to see manager homepage

- UC view statistic enables manager view statistic page and select to choose to choose a type of statistic report

- UC view statistic material page enables manager view statistic material page

- UC Select dates enables staff to select start date and end date to see statistic material over a period of time (sort by revenue)

- UC view detail material enables manager view the importing related to that material during the period of statistic

Pre-condition Manager has an account

Post-condition Manager finishes edit material

Trang 6

The material information is updatedMain event 1. A manager A logins with account: username: Manager, password:

abc@123 clicks login button A wants to edit the price of “Herbal Tea”

2. The system displays the main manager interface with option to manage materials

3. The manager A selects manage materials option

4 The system displays the managing page interface:

5. The manager chooses edit button

6. The search material UI is appeared with:

a. an input text for the keyword (name of material)

a concentrated hydrophobic liquid containing volatile chemical compounds from plants

2 Massage Oil

relax, restore health 5 575,000

7. The manager enters a keyword as “Herbal Tea” and then, clicks on the search button

8. The search material UI is updated:

a. an input text = “Herbal Tea”

b. a button to search

c. A back button

Trang 7

d. List of materials:

6 Herbal Tea a natural, caffeine-free

beverage made from the infusion of various herbs, spices, flowers, or fruits

100

11,500

7 Herbal Tea (Special version)

Unlike traditional tea,herbal tea(special version)

is made from a wide range

of plants and does notcontain actual tea leaves

9. The manager clicks on the first line

10. The UI for editing a material is appeared with:

a. ID: 6

b. Text field for name: Herbal Tea

c. Text field for quantity = 100

d. Text field for price = 11,500

2 The system displays an error message: login failed!

2.1 The manager clicks on the OK of the message2.2 The system returns to the login interface

a username = Manager

b password = aab@123

Trang 8

c login button2.3 The manager changes password: abc@123, clicks login2.4 The main interface of manager appears (step 2)

8 The systems displays the search material interface:

a an input text = “Herbal Tea”

b a button to search

c A back button

d The text: No material found!

8.1 The manager click back button and choose to create material 8.2 The system displays the creating material interface

8.3 The manager create a new material with name “Herbal Tea” and choose to edit button

1.2 Import materials

Scenario Import materials

Actor Staff, Provider

Pre-condition Staff has an account

Post-condition - Staff finishes importing a material

- The invoice information of importing materials is added to the system

- The materials information is updatedMain event

1.A staff A logins with account: username: Staff, password: abc@123 clicks login button A wants to import the invoice that received from materials provider to the system

2.The system displays the main staff interface with option to import materials

Trang 9

3.The staff A selects import materials option

4.The system displays the importing materials interface to import invoice:

a An input for Invoice code

b An input for Invoice date

d An import button

5 The staff A asks provider B for the invoice information

6 The provider gives the staff the invoice with information:

a Invoice code: 123; Date: 09/09/2024

b Seller:

(1) Company’s name: Gorgeous

(2) Address: 29 P Bà Triệu, Hàng Bài, Hoàn Kiếm, Hà Nội(3) Tel: 035626962

(4) Email: 123@gmail.com

c Buyer:

(1) Customer’s name: A

(2) Company’s name: Spa

(3) Address: 21 TT8, Đ Quang Lai, Ngũ Hiệp, Thanh Trì, Hà Nội 100000

Trang 10

8 The system displays the search provider interface:

a An input for provider name

b A search button

c An add button

d A back button

9 The staff enters name = Gorgeous and clicks search

10 The system updates the search provider interface:

a A provider ‘s name = Gorgeous

Hà Nội

0587939960 321@gmail.com

Trang 11

11 The staff selects the provider Gorgeous (1st row) and click import button

14 The system displays the search material interface:

a An input for material name

b A search button

c An add button

d An import button

e An input for importing quantity

f An input for importing unit price

15 The staff enters name = Herbal Tea and clicks search

16 The system updates the search materials interface:

a Material = Herbal Tea

b A search button

c An add button

d An import button

e An input for importing quantity

f An input for importing unit price

g A save button

h The list of materials:

6 Herbal Tea a natural, caffeine-free beverage

made from the infusion ofvarious herbs, spices, flowers, or

Trang 12

not contain actual tea leaves

17.The staff chooses 1st row, enters quantity = 100, unit price = 11,500VNDclicks import

18 The system updates the search materials interface:

a An input for material name

b A search button

c An add button

d An import button

e An input for importing quantity

f An input for importing unit price

g A save button

h The list of materials:

6 Herbal Tea a natural, caffeine-free

beverage made from theinfusion of various herbs,spices, flowers, or fruits

15,000

g The list of selected materials:

price(VND) Total price

Trang 13

19 The staff click the save button

20 The confirmation interface appears:

a. Invoice code= 123; Invoice date = 09/09/2024

b.The staff information:

d.The information about materials:

price(VND) Total price1

Trang 14

21 The staff enter paid amount = 1,150,000 VNĐ and clicks add button

22 The confirmation interface has updated:

Invoice code 123

Invoice date 09/09/2024

Staff (1) Staff’s name = A

(2) ID= 02Provider

(1) Name = Gorgeous(2) Address = 29 P Bà Triệu, Hàng Bài, Hoàn Kiếm, Hà Nội

(3) Tel = 035626962

Materials ID Name Quantity Unit

priceTotal price

1Herbal Tea 100 11,500 1,150,000

23.The staff click confirm button

24 The system returns to the main staff interface

Trang 15

2 The system displays an error message: login failed!

2.1 The staff clicks on the OK of the message2.2 The system returns to the login interface

8 The systems displays the search provider interface:

a The input for supplier name = Gorgeous

b A search button

c An add button

d The text: No provider found!

8.1 The staff click add button8.2 The system displays the add provider interface:

a name

b address

c phone number

d tax code

e Add, cancel button

8.3 The staff enters name = Gorgeous; address = 29 P Bà Triệu, Hàng Bài, Hoàn Kiếm, Hà Nội; phone number = 035626962; tax code =

0316265669 and click add

8.4 The system display the search provider interface

14 The systems displays the search materials results interface:

Trang 16

a The input for material name

b An add button

c The text: No material found!

14.1 The staff click add button14.2 The system displays the add material:

a Name

b Description

e Add, cancel button

14.3 The staff enters:

Name = Herbal Tea

Description = a natural, caffeine-free beverage made from the infusion of various herbs, spices, flowers, or fruits

and click add

14.4 The system display the search materials information interface

1.3 View statistic materials by revenue

Scenario View statistic materials by revenue

Pre-condition Manager has an account

Post-condition

Main event 1. A manager A selects the view statistic option in the main manager

interface after logged in He wants to see the revenue by material from the start of the month

2 The system displays the statistic interface with option: view statistic

Trang 17

material

3 The manager selects to view statistic material report

4 The system displays the statistic material interface:

– text field for start date

– text field for end date

e List of statistic materials

7 The manager select Herbal Tea (2nd row) to see detail

8 The system display the material detail interface:

9 The Manager click on the back button

10 The system return to the main manager interface

Trang 18

Exception

6 The system displays an error message: “No data available”

6.1 The manager click on OK button of the message

6.2 The system return to the statistic material interface:

a start date =01/05/2024

b end date = 05/05/2024

c. A view button

d A back button 6.3 The manager select start date = 1/5/2024, end date = 30/5/2024 and click search button

6.4 The system displays the search result interface

2 State diagram

2.1 Manage materials

State diagram describe the operation of editing a material by manager

● If manager login successfully, it will transaction to the manager homepage if unsuccessful, an error message will be displayed and when manager click ok, it will return to the login interface

● From manager homepage, if manager select to manage material, it will transaction to the managing page.

● From the managing page, if manager choose edit button, it will

transaction to search material interface

● From search material interface, manager can select a material and then transaction to edit material interface

● After editing, manage select to save, the information will be updated and

it will return to the manager homepage

Trang 19

2.2 Import material

State diagram describe the operation of importing a material by staff

● From main staff interface, if staff select to manage material, it will transaction to the importing page.

● From the importing page, staff enter invoice code, date and click import choose edit button, it will transaction to search provider interface.

● From search provider interface, staff search provider, if it appear an empty list, the staff can select to add new provider If the list has information of providers, staff can select a provider, it will transaction to the search material interface

● From search material interface, staff search material , if it appear an empty list, the staff can select to add new material If the list has information of materials, staff can select a material and enter quantity, price, then click import Repeat until the end of invoice, then click save

to transaction to confirm interface

● From confirm interface, staff click confirm to return to the main staff interface

Trang 20

2.3 Statistic materials

State diagram describe the operation of viewing material statistic by manager

● From manager homepage, if manager select to view statistic, it will transaction to the statistic page.

● From statistic page, manager enter dates to load the material statistic list and select to a material statistic to view detail, it will transaction to the material detail interface.

● From material detail interface, manager can select back until return to the main manager page.

Trang 21

3 Entity class diagram

3.1 Description

The system is a website that helps members in spa store manage material, view material statistics and import materials Manager can view, create, edit, delete all material information including name, quantity and price Moreover, manager can view statistic of materials by revenue, he can select the duration to view the list of material statistics sorted by revenue in descending order including name, quantity and revenue selled For more detail, he can select each material statistic to view all the sold-invoices of that material that were bought by customers with full information about date,total quantity, unit price and total price The system also enables staff to import materials from the invoice that receive from materials providers If a provider does not exist in the system, staff can add a new provider Similarly, if the material that staff is importing does not exist, staff can add new material to the system

3.2 Extract noun + Elimination

Trang 22

- member -> class Member(abstract)

- spa store: too abstract -> eliminate

- System: too abstract -> eliminate

- website: too abstract -> eliminate

- manager: class Manager: (inherit class Member)

- material: class Material

- material statistic: class MaterialStat

- sold-invoice: class SoldInvoice

- invoice: class Invoice

- customer: class Customer

- date:attribute

- total quantity: attribute

- unit price: attribute

- total price: attribute

- staff: class Staff: (inherit class Member)

- provider: class Provider

3.3 Relationship among class

- MaterialStat inherits from Material

- A staff may import many Invoice So, Staff– Invoice is 1-n

- A provider may provide many Invoice So, Provider– Invoice is 1-n

- An Invoice has many Material and A material can belong to many Invoice so Invoice-Material is n-n So can propose a new class ImportedMaterial between them.This association relationship include quantity and price of a material in the invoice

- An SoldInvoice has many Material and A material can belong to many SoldInvoice so SoldInvoice -Material is n-n So can propose a new class SoldMaterial between them.This association relationship include quantity and price of a material in the invoice

- A staff may sell many SoldInvoice So, Staff– SoldInvoice is 1-n

Ngày đăng: 18/02/2025, 16:24

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN