23 lines
571 B
Go
23 lines
571 B
Go
package entitys
|
|
|
|
import (
|
|
"ai_scheduler/internal/data/constants"
|
|
"time"
|
|
)
|
|
|
|
type DingTalkUserInfo struct {
|
|
UserId int `json:"user_id"`
|
|
StaffId string `json:"staff_id"`
|
|
Name string `json:"name"`
|
|
Dept []*Dept `json:"dept"`
|
|
IsBoss constants.IsBoss `json:"is_boss"`
|
|
IsSenior constants.IsSenior `json:"is_senior"`
|
|
HiredDate time.Time `json:"hired_date"`
|
|
Extension string `json:"extension"`
|
|
}
|
|
|
|
type Dept struct {
|
|
Name string `json:"name"`
|
|
DeptId int `json:"dept_id"`
|
|
}
|