-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from Hoang-Nguyen-Huy/PBS-64-Manage-User-Api
Pbs 64 manage user api
- Loading branch information
Showing
7 changed files
with
79 additions
and
8 deletions.
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
28 changes: 28 additions & 0 deletions
28
src/main/java/com/swp/PodBookingSystem/dto/respone/Account/AccountManagementResponse.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,28 @@ | ||
package com.swp.PodBookingSystem.dto.respone.Account; | ||
|
||
import com.swp.PodBookingSystem.dto.respone.Building.BuildingResponse; | ||
import com.swp.PodBookingSystem.enums.AccountRole; | ||
import lombok.*; | ||
import lombok.experimental.FieldDefaults; | ||
|
||
import java.time.LocalDate; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Builder | ||
@FieldDefaults(level = AccessLevel.PRIVATE) | ||
public class AccountManagementResponse { | ||
String id; | ||
String name; | ||
String email; | ||
String password; | ||
String avatar; | ||
int point; | ||
AccountRole role; | ||
double balance; | ||
BuildingResponse building; | ||
String rankingName; | ||
LocalDate createdAt; | ||
int status; | ||
} |
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
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