-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6e70b7
commit b1069c6
Showing
6 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
server/src/main/java/io/flowinquiry/modules/usermanagement/service/dto/UserHierarchyDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package io.flowinquiry.modules.usermanagement.service.dto; | ||
|
||
import java.util.List; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import lombok.ToString; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
public class UserHierarchyDTO { | ||
private Long id; | ||
|
||
private String name; | ||
|
||
private String imageUrl; | ||
|
||
private Long managerId; | ||
|
||
private String managerName; | ||
|
||
private String managerImageUrl; | ||
|
||
@ToString.Exclude private List<UserHierarchyDTO> subordinates; | ||
|
||
public UserHierarchyDTO( | ||
Long id, | ||
String name, | ||
String imageUrl, | ||
Long managerId, | ||
String managerName, | ||
String managerImageUrl) { | ||
this.id = id; | ||
this.name = name; | ||
this.imageUrl = imageUrl; | ||
this.managerId = managerId; | ||
this.managerName = managerName; | ||
this.managerImageUrl = managerImageUrl; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters