29 lines
1.1 KiB
Go
29 lines
1.1 KiB
Go
package response
|
|
|
|
import "time"
|
|
|
|
type UsersResponse struct {
|
|
ID uint `json:"id"`
|
|
Username string `json:"username"`
|
|
Email string `json:"email"`
|
|
Fullname string `json:"fullname"`
|
|
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"`
|
|
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"`
|
|
}
|