generated from moevm/nsql-clean-tempate
-
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.
- Loading branch information
Showing
4 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
gym-rest-api/src/main/java/com/example/gym/model/user/ResponseUserDto.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,36 @@ | ||
package com.example.gym.model.user; | ||
|
||
import java.time.LocalDateTime; | ||
import java.util.List; | ||
|
||
import com.example.gym.model.user.pojo.ClientInfo; | ||
import com.example.gym.model.user.pojo.GenderType; | ||
import com.example.gym.model.user.pojo.TrainerInfo; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
public class ResponseUserDto { | ||
|
||
private String id; | ||
private String name; | ||
private String surname; | ||
private String password; | ||
private String email; | ||
private String phoneNumber; | ||
private String comment; | ||
private List<String> roles; | ||
private GenderType gender; | ||
private LocalDateTime birthday; | ||
private TrainerInfo trainerInfo; | ||
private ClientInfo clientInfo; | ||
private LocalDateTime createdAt; | ||
private LocalDateTime updatedAt; | ||
|
||
} |
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
5 changes: 5 additions & 0 deletions
5
gym-rest-api/src/main/java/com/example/gym/model/user/pojo/GenderType.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,5 @@ | ||
package com.example.gym.model.user.pojo; | ||
|
||
public enum GenderType { | ||
MALE, FEMALE | ||
} |
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