Skip to content

Commit 2f7e2a4

Browse files
author
Clément
committed
Adding UML class diagram for final exam.
1 parent adaf20a commit 2f7e2a4

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

source/uml/cla/Article.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Article <|-- Book
2+
3+
class Article{
4+
<<Abstract>>
5+
+ «property» Id: string
6+
- price: decimal
7+
+ SetPrice(priceP: decimal)
8+
+ GetPrice() decimal
9+
+ Article(idP: string, priceP: decimal)
10+
+ ShippingCosts() decimal*
11+
}
12+
13+
class Book{
14+
+ «property» Title: string
15+
+ Book(idP: string, priceP: decimal, titleP: string)
16+
+ ShippingCosts() decimal
17+
18+
}

0 commit comments

Comments
 (0)