-
Notifications
You must be signed in to change notification settings - Fork 1
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 #164 from swm-nodriversomabus/BUS-205-Controller-r…
…eturn-userId feat(BE): 매칭 대기자/참가자 API의 userId 반환 BUS-205-Controller-return-userId #160
- Loading branch information
Showing
5 changed files
with
80 additions
and
12 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
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
56 changes: 56 additions & 0 deletions
56
src/main/java/com/example/api/user/dto/FindUserInfoDto.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,56 @@ | ||
package com.example.api.user.dto; | ||
|
||
import com.example.api.user.type.UserGenderEnum; | ||
import com.example.api.user.type.UserRoleEnum; | ||
import jakarta.validation.constraints.Min; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.*; | ||
|
||
import java.time.LocalDateTime; | ||
import java.util.UUID; | ||
|
||
@Getter | ||
@Builder | ||
@ToString | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class FindUserInfoDto { | ||
@NotBlank | ||
private UUID userId; | ||
|
||
@NotBlank | ||
private String username; | ||
|
||
@NotNull | ||
private UserGenderEnum gender; | ||
|
||
@NotNull | ||
@Min(0) | ||
private Integer age; | ||
|
||
@NotBlank | ||
private String phone; | ||
|
||
@NotNull | ||
private UserRoleEnum role; | ||
|
||
@NotNull | ||
private Boolean blacklist; | ||
|
||
@NotNull | ||
private String stateMessage; | ||
|
||
@NotNull | ||
@Min(0) | ||
private Integer mannerScore; | ||
|
||
@NotNull | ||
private LocalDateTime createdAt; | ||
|
||
@NotNull | ||
private LocalDateTime updatedAt; | ||
|
||
@NotNull | ||
private Boolean isActive; | ||
} |