22 lines
523 B
Go
22 lines
523 B
Go
package models
|
|
|
|
type ResponseGetListUsers struct {
|
|
Result []User `json:"result"`
|
|
Total int `json:"total"`
|
|
}
|
|
|
|
type User struct {
|
|
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"`
|
|
}
|
|
|
|
type ResponseGetCurrentUser struct {
|
|
Result User `json:"result"`
|
|
}
|