package beisen

type BsTokenRes struct {
	AccessToken  string `json:"access_token"`
	TokenType    string `json:"token_type"`
	ExpiresIn    int    `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
}

type BsTokenBody struct {
	GrantType string `json:"grant_type"`
	AppKey    string `json:"app_key"`
	AppSecret string `json:"app_secret"`
}

type BsUsersInfoBody struct {
	OIds            []int    `json:"oIds"`
	IsWithDeleted   bool     `json:"isWithDeleted"`
	Columns         []string `json:"columns"`
	EnableTranslate bool     `json:"enableTranslate"`
}

type BsUsersInfoRes struct {
	Data    []BsUserInfo `json:"data"`
	Code    string       `json:"code"`
	Message interface{}  `json:"message"`
}

type BsUserInfo struct {
	UserID uint   `json:"userID"`
	Name   string `json:"name"`
	Email  string `json:"email"`
}
