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

28 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"`
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"`
}