2024-03-05 19:15:53 +00:00
|
|
|
package response
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type UsersResponse struct {
|
2024-03-31 11:59:32 +00:00
|
|
|
ID uint `json:"id"`
|
|
|
|
|
Username string `json:"username"`
|
|
|
|
|
Email string `json:"email"`
|
|
|
|
|
Fullname string `json:"fullname"`
|
|
|
|
|
Address string `json:"address"`
|
|
|
|
|
PhoneNumber string `json:"phone_number"`
|
|
|
|
|
WorkType string `json:"work_type"`
|
|
|
|
|
GenderType string `json:"gender_type"`
|
|
|
|
|
IdentityType string `json:"identity_type"`
|
|
|
|
|
IdentityNumber string `json:"identity_number"`
|
|
|
|
|
DateOfBirth string `json:"date_of_birth"`
|
|
|
|
|
LastEducation string `json:"last_education"`
|
|
|
|
|
KeycloakId *string `json:"keycloak_id"`
|
|
|
|
|
UserRoleId int `json:"user_role_id"`
|
|
|
|
|
StatusId *int `json:"status_id"`
|
|
|
|
|
UserLevelsId int `json:"user_levels_id"`
|
|
|
|
|
CreatedById *int `json:"created_by_id"`
|
|
|
|
|
ProfilePicturePath *string `json:"profile_picture_path"`
|
|
|
|
|
IsActive *bool `json:"is_active"`
|
|
|
|
|
CreatedAt time.Time `json:"created_at"`
|
|
|
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
|
|
|
}
|