2024-09-19 14:41:20 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
type ResponseGetListUsers struct {
|
|
|
|
Result []User `json:"result"`
|
|
|
|
Total int `json:"total"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type User struct {
|
2024-09-29 14:57:21 +00:00
|
|
|
ID string `json:"ID"`
|
|
|
|
Name string `json:"NAME"`
|
|
|
|
LastName string `json:"LAST_NAME"`
|
|
|
|
SecondName string `json:"SECOND_NAME"`
|
|
|
|
Title string `json:"TITLE"`
|
|
|
|
Email string `json:"EMAIL"`
|
|
|
|
UFDepartment []int32 `json:"UF_DEPARTMENT"`
|
|
|
|
WorkPosition string `json:"WORK_POSITION"`
|
2024-09-19 14:41:20 +00:00
|
|
|
}
|
2024-09-22 12:52:26 +00:00
|
|
|
|
|
|
|
type ResponseGetCurrentUser struct {
|
2024-09-29 14:57:21 +00:00
|
|
|
Result User `json:"result"`
|
2024-09-22 12:52:26 +00:00
|
|
|
}
|