Skip to content

Commit 229fda9

Browse files
author
Gopinath Langote
committed
iluwatar#348 - Data Tranfer Object : Add puml diagram.
1 parent 148de06 commit 229fda9

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
13.9 KB
Loading
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
11
@startuml
2+
package com.iluwatar.datatransfer {
3+
class CustomerDto {
4+
- firstName : String
5+
- id : String
6+
- lastName : String
7+
+ CustomerDto(id : String, firstName : String, lastName : String)
8+
+ getFirstName() : String
9+
+ getId() : String
10+
+ getLastName() : String
11+
}
12+
class CustomerResource {
13+
- customers : List<CustomerDto>
14+
+ CustomerResource(customers : List<CustomerDto>)
15+
+ delete(customerId : String)
16+
+ getAllCustomers() : List<CustomerDto>
17+
+ save(customer : CustomerDto)
18+
}
19+
}
20+
CustomerResource --> "-customers" CustomerDto
221
@enduml

0 commit comments

Comments
 (0)