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

37 lines
1.3 KiB
Go
Raw Normal View History

2025-09-28 01:53:09 +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"`
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"`
}
type ParetoLoginResponse struct {
AccessToken string `json:"accessToken"`
}
type VisitorStatistic struct {
TotalVisitor string `json:"accessToken"`
}