Вы находитесь на странице: 1из 13

Domain model of the TechnicalService system

Nguyen Thi Thanh Truc

Table of Contents

1 TechnicalService .......................................................................................................................................................... 2
1.1 TechnicalService diagram ........................................................................................................................................... 2
1.2 Customer ..................................................................................................................................................................... 3
1.3 Customer Administrator .............................................................................................................................................. 4
1.4 Payment ...................................................................................................................................................................... 4
1.5 Product ........................................................................................................................................................................ 5
1.6 Repair Order................................................................................................................................................................ 6
1.7 Repair Order Administrator ........................................................................................................................................ 7
1.8 Shipping Company ...................................................................................................................................................... 7
1.9 Spare Part .................................................................................................................................................................... 8
1.10 Address of C ............................................................................................................................................................. 9
1.11 Address of S.C .......................................................................................................................................................... 9
1.12 Attribute Task ........................................................................................................................................................... 9
1.13 BillingID ................................................................................................................................................................... 9
1.14 CustomerID ............................................................................................................................................................... 9
1.15 Date of receive ........................................................................................................................................................ 10
1.16 Date of return .......................................................................................................................................................... 10
1.17 Define Task ............................................................................................................................................................. 10
1.18 Email of C ............................................................................................................................................................... 10
1.19 Issues of product ..................................................................................................................................................... 11
1.20 Name of C ............................................................................................................................................................... 11
1.21 Name of Product ..................................................................................................................................................... 11
1.22 Name of S.C ............................................................................................................................................................ 11
1.23 Payment Method ..................................................................................................................................................... 11
1.24 ProductID ................................................................................................................................................................ 12
1.25 Spare Part ................................................................................................................................................................ 12
1.26 Tel of S.C ................................................................................................................................................................ 12
1.27 Website of S.C ........................................................................................................................................................ 12
1.28 telephone of C ......................................................................................................................................................... 12
Model Report 14 November, 2017

1 TechnicalService
Package in package 'Model'

TechnicalService
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.1 TechnicalService diagram


Class diagram in package 'TechnicalService'

TechnicalService
Version 1.0
student created on 04.11.2017. Last modified 04.11.2017

Shipping Company

- Name: Nameof S.C


- Telephone: Tel of S.C
- Address: Address of S.C
- Website : Website of S.C

Product *

- Name of Product: Name of Product


- ProductID: ProductID

1
Customer
Customer Administrator
- Name : Name of C
- CustomerID: CustomerID - Customer : Customer
- Telephone: telephone of C * 1 - Date of receive product : Date of receive
- Date of return product: Date of return
- Email : Email of C
- Address: Address of C

1
*

Repair Order Repair Order Administrator

- Customer: Customer - Define Task : Define Task


- Payment Method: Payment Method - Attribute Task : Attribute Task
1 * 1
- Total cost: int
- Issues of product: Issues of product
Payment
1
- BillingID: BillingID
- Situation of Bill: boolean = true

Spare Part

- Name of Product : Name of Product


- Spare part: Spare Part
- Quatity: int

Figure 1: TechnicalService

Page 2 of 13
Model Report 14 November, 2017

1.2 Customer
Class in package 'TechnicalService'

Customer who send their Lawn mowers to Customer Administrator by themselves or they will ask shipping company to
help them to ship their Lawn mowers

Customer
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

OUTGOING STRUCTURAL RELATIONSHIPS

Aggregation from Customer to Customer Administrator


[ Direction is 'Source -> Destination'. ]

ATTRIBUTES

Name : Name of C Private

Name of customer who sent product


[ Is static False. Containment is Not Specified. ]

CustomerID : CustomerID Private

Each customer will have his own ID


[ Is static False. Containment is Not Specified. ]

Telephone : telephone of C Private

Telephone number of customer


[ Is static False. Containment is Not Specified. ]

Email : Email of C Private

Email of customer
[ Is static False. Containment is Not Specified. ]

Address : Address of C Private

Address of customer
[ Is static False. Containment is Not Specified. ]

ASSOCIATIONS

Association (direction: Unspecified)

Source: Public (Class) Customer Target: Public (Class) Repair Order


Cardinality: [*] Cardinality: [1]

Association (direction: Unspecified)

Source: Public (Class) Customer Target: Public (Class) Product

Association (direction: Unspecified)

Source: Public (Class) Payment Target: Public (Class) Customer

Page 3 of 13
Model Report 14 November, 2017

ASSOCIATIONS
Cardinality: [1] Cardinality: [1]

Association (direction: Unspecified)

Source: Public (Class) Shipping Company Target: Public (Class) Customer

1.3 Customer Administrator


Class in package 'TechnicalService'

Customer Administrator will be stored information of customer which are linked to customer class and also date of
receive product and date of return product

Customer Administrator
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

INCOMING STRUCTURAL RELATIONSHIPS

Aggregation from Customer to Customer Administrator


[ Direction is 'Source -> Destination'. ]

ATTRIBUTES

Customer : Customer Private

Information of customer which are linked with Customer class


[ Is static False. Containment is Not Specified. ]

Date of receive product : Date of receive Private

The date when Customer Administrator receive the products from customers
[ Is static False. Containment is Not Specified. ]

Date of return product : Date of return Private

The date when Customer Administrator return the products to customers

[ Is static False. Containment is Not Specified. ]

ASSOCIATIONS

Association (direction: Unspecified)

Source: Public (Class) Product Target: Public (Class) Customer Administrator


Cardinality: [*] Cardinality: [1]

1.4 Payment
Class in package 'TechnicalService'

Page 4 of 13
Model Report 14 November, 2017

This is class for payment. It stores billing ID for customer Administrator to check the customer paid their bill or not
before Customer Administrator return Lawn mowers which are fix to customers

Payment
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 10.11.2017

ATTRIBUTES

BillingID : BillingID Private

ID number of bill to let Technical Service check that customers paid or not before they send products to customers
[ Is static False. Containment is Not Specified. ]

Situation of Bill : boolean Private = true

Situation of Bill is paid or still not. And Customer Administrator just return those product after customer paid for bill

[ Is static False. Containment is Not Specified. ]

ASSOCIATIONS

Association (direction: Unspecified)

Source: Public (Class) Payment Target: Public (Class) Customer


Cardinality: [1] Cardinality: [1]

1.5 Product
Class in package 'TechnicalService'

All products are lawn mowers

Product
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

ATTRIBUTES

Name of Product : Name of Product Private

Name of Lawn mowers


[ Is static False. Containment is Not Specified. ]

ProductID : ProductID Private

ID of Lawn mowers to distinguish what kind of Lawn mowers


[ Is static False. Containment is Not Specified. ]

ASSOCIATIONS

Association (direction: Unspecified)

Source: Public (Class) Product Target: Public (Class) Customer Administrator


Cardinality: [*] Cardinality: [1]

Page 5 of 13
Model Report 14 November, 2017

ASSOCIATIONS

Association (direction: Unspecified)

Source: Public (Class) Shipping Company Target: Public (Class) Product


Cardinality: [1] Cardinality: [*]

Association (direction: Unspecified)

Source: Public (Class) Customer Target: Public (Class) Product

1.6 Repair Order


Class in package 'TechnicalService'

Repair Order make the order for customer, it includes information of customer which are linked to customer class and
what kind of payment customer want to (visa, credit and so on), how much customers need to pay and what spare part
need to be replaced in these lawn mowers

Repair Order
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

OUTGOING STRUCTURAL RELATIONSHIPS

Aggregation from Repair Order to Repair Order Administrator


[ Direction is 'Source -> Destination'. ]

INCOMING STRUCTURAL RELATIONSHIPS

Aggregation from Spare Part to Repair Order


[ Direction is 'Source -> Destination'. ]

ATTRIBUTES

Customer : Customer Private

Information of customer which are linked with Customer class


[ Is static False. Containment is Not Specified. ]

Payment Method : Payment Method Private

What kind of payment customers want to pay


[ Is static False. Containment is Not Specified. ]

Total cost : int Private

How many money customers need to pay after their lawn mowers are fixed
[ Is static False. Containment is Not Specified. ]

Issues of product : Issues of product Private

what kind of issues these lawn mowers have


[ Is static False. Containment is Not Specified. ]

Page 6 of 13
Model Report 14 November, 2017

ASSOCIATIONS

Association (direction: Unspecified)

Source: Public (Class) Customer Target: Public (Class) Repair Order


Cardinality: [*] Cardinality: [1]

1.7 Repair Order Administrator


Class in package 'TechnicalService'

Repair Order Administrator will define what task Technical Staff needs to do and who will fix these Lawn mowers.

Repair Order Administrator


Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

INCOMING STRUCTURAL RELATIONSHIPS

Aggregation from Repair Order to Repair Order Administrator


[ Direction is 'Source -> Destination'. ]

ATTRIBUTES

Define Task : Define Task Private

Define what kind of task Technical Staff needs to do


[ Is static False. Containment is Not Specified. ]

Attribute Task : Attribute Task Private

Who will receive these tasks and fix them.


[ Is static False. Containment is Not Specified. ]

1.8 Shipping Company


Class in package 'TechnicalService'

Shipping company is company which help customers send their products to Customer Administrator

Shipping Company
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

ATTRIBUTES

Name : Nameof S.C Private

Name of Shipping Company


[ Is static False. Containment is Not Specified. ]

Telephone : Tel of S.C Private

Telephone number of Shipping Company

Page 7 of 13
Model Report 14 November, 2017

ATTRIBUTES
[ Is static False. Containment is Not Specified. ]

Address : Address of S.C Private

Address of Shipping Company


[ Is static False. Containment is Not Specified. ]

Website : Website of S.C Private

Website of Shipping company where customers can check information and track shipping code to know where is their
products now
[ Is static False. Containment is Not Specified. ]

ASSOCIATIONS

Association (direction: Unspecified)

Source: Public (Class) Shipping Company Target: Public (Class) Product


Cardinality: [1] Cardinality: [*]

Association (direction: Unspecified)

Source: Public (Class) Shipping Company Target: Public (Class) Customer

1.9 Spare Part


Class in package 'TechnicalService'

What kind of Spare Part Lawn mowers need to be replace

Spare Part
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

OUTGOING STRUCTURAL RELATIONSHIPS

Aggregation from Spare Part to Repair Order


[ Direction is 'Source -> Destination'. ]

ATTRIBUTES

Name of Product : Name of Product Private

Name of product
[ Is static False. Containment is Not Specified. ]

Spare part : Spare Part Private

Name of Spare Parts which will replace old one


[ Is static False. Containment is Not Specified. ]

Quatity : int Private

How many spare parts need to be replace for

Page 8 of 13
Model Report 14 November, 2017

ATTRIBUTES
[ Is static False. Containment is Not Specified. ]

1.10 Address of C
DataType in package 'TechnicalService'

This is place for entering address of Customer

Address of C
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.11 Address of S.C


DataType in package 'TechnicalService'

This is place for entering address of Shipping Company

Address of S.C
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.12 Attribute Task


DataType in package 'TechnicalService'

This is place for entering the name of technician who will receive those tasks and fix them.

Attribute Task
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.13 BillingID
DataType in package 'TechnicalService'

This is place for entering the ID of bill

BillingID
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.14 CustomerID
Page 9 of 13
Model Report 14 November, 2017

DataType in package 'TechnicalService'

This is place for entering the ID of Customer

CustomerID
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.15 Date of receive


DataType in package 'TechnicalService'

This is place for entering the date Customer Administrator receive products from their customers

Date of receive
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.16 Date of return


DataType in package 'TechnicalService'

This is place for entering the date Customer Administrator return products to their customer

Date of return
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.17 Define Task


DataType in package 'TechnicalService'

This is place for entering tasks which Technicians need to do

Define Task
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.18 Email of C
DataType in package 'TechnicalService'

This is place for entering email of customer

Email of C
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

Page 10 of 13
Model Report 14 November, 2017

1.19 Issues of product


DataType in package 'TechnicalService'

This is place for entering what kind of issues those lawn movers have

Issues of product
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.20 Name of C
DataType in package 'TechnicalService'

This is place for entering name of Customer

Name of C
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.21 Name of Product


DataType in package 'TechnicalService'

This is place for entering name of Product

Name of Product
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.22 Name of S.C


DataType in package 'TechnicalService'

This is place for entering name of Shipping Company

Nameof S.C
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.23 Payment Method


DataType in package 'TechnicalService'

This is place for entering which way Customer want to choose to pay

Payment Method
Version 1.0 Phase 1.0 Proposed

Page 11 of 13
Model Report 14 November, 2017

student created on 04.11.2017. Last modified 04.11.2017

1.24 ProductID
DataType in package 'TechnicalService'

This is place for entering the ID of product

ProductID
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.25 Spare Part


DataType in package 'TechnicalService'

This is place for entering what kind of Spare Parts lawn movers need to change

Spare Part
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.26 Tel of S.C


DataType in package 'TechnicalService'

This is place for entering telephone of Shipping Company

Tel of S.C
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.27 Website of S.C


DataType in package 'TechnicalService'

This is place for entering the website of Shipping Company

Website of S.C
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

1.28 telephone of C
DataType in package 'TechnicalService'

This is place for entering the telephone number of Customer

Page 12 of 13
Model Report 14 November, 2017

telephone of C
Version 1.0 Phase 1.0 Proposed
student created on 04.11.2017. Last modified 04.11.2017

Page 13 of 13

Вам также может понравиться