Skip to content

Commit 8c5fef5

Browse files
committed
Part 18: Add UserReadDto.java
1 parent 072ea2b commit 8c5fef5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package spring.oldboy.dto;
2+
3+
import lombok.Value;
4+
import spring.oldboy.database.entity.Role;
5+
6+
import java.time.LocalDate;
7+
8+
@Value
9+
public class UserReadDto {
10+
Long id;
11+
String username;
12+
LocalDate birthDate;
13+
String firstname;
14+
String lastname;
15+
Role role;
16+
CompanyReadDto company;
17+
}

0 commit comments

Comments
 (0)