medol-be/app/module/users/response/users.response.go

29 lines
1.1 KiB
Go
Raw Normal View History

2024-03-05 19:15:53 +00:00
package response
import "time"
type UsersResponse struct {
ID uint `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Fullname string `json:"fullname"`
2024-11-22 04:14:14 +00:00
Address *string `json:"address"`
PhoneNumber *string `json:"phoneNumber"`
WorkType *string `json:"workType"`
GenderType *string `json:"genderType"`
IdentityType *string `json:"identityType"`
IdentityNumber *string `json:"identityNumber"`
DateOfBirth *string `json:"dateOfBirth"`
LastEducation *string `json:"lastEducation"`
KeycloakId *string `json:"keycloakId"`
UserRoleId uint `json:"userRoleId"`
UserLevelId uint `json:"userLevelId"`
2024-10-02 04:41:40 +00:00
UserLevelGroup string `json:"userLevelGroup"`
StatusId *int `json:"statusId"`
CreatedById *uint `json:"createdById"`
ProfilePicturePath *string `json:"profilePicturePath"`
IsActive *bool `json:"isActive"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}