Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthToken ¶
type AuthToken struct {
model.Created
AccessToken string `db:"access_token"`
RefreshToken string `db:"refresh_token"`
AppId uint32 `db:"app_id"`
AccountId uint32 `db:"account_id"`
}
@model @db s_auth_tokens
func NewAuthToken ¶
type AuthTokenWithApp ¶
@model @embed AuthToken
type Department ¶
@model @db s_departments
func NewDept ¶
func NewDept(name string, ownerId int) *Department
type DeptLevel ¶
type DeptLevel struct {
model.Record
DeptId uint32 `db:"dept_id"`
SubDeptId uint32 `db:"sub_dept_id"`
}
@model @db s_dept_leves
type GroupWithApp ¶
@model @embed Group
Click to show internal directories.
Click to hide internal directories.