domain

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDepartmentUsersRequest

type AddDepartmentUsersRequest struct {
	DepartmentID uint64   `json:"departmentId,string"`
	UserIDs      []uint64 `json:"userIds"`
}

func (*AddDepartmentUsersRequest) UnmarshalJSON

func (r *AddDepartmentUsersRequest) UnmarshalJSON(b []byte) error

type DepartmentListRequest

type DepartmentListRequest struct {
	model.Department
	OnlyParent          bool                  `json:"onlyParent"`
	CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"`
	UpdateTimeCondition *server.TimeCondition `json:"updateTimeCondition"`
	OrderBy             string                `json:"orderBy"`
}

type LoginByDingtalkCodeRequest

type LoginByDingtalkCodeRequest struct {
	Code          string `json:"code"`
	ThirdSourceID uint64 `json:"thirdSourceId,string"`
}

type ResourceListRequest

type ResourceListRequest struct {
	model.Resource
	CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"`
	UpdateTimeCondition *server.TimeCondition `json:"updateTimeCondition"`
	OrderBy             string                `json:"orderBy"`
}

type RoleDispatchResourcesRequest

type RoleDispatchResourcesRequest struct {
	RoleID           uint64   `json:"roleId,string"`
	ResourceCodeList []string `json:"resourceCodeList"`
}

type RoleListRequest

type RoleListRequest struct {
	model.Role
	CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"`
	UpdateTimeCondition *server.TimeCondition `json:"updateTimeCondition"`
	OrderBy             string                `json:"orderBy"`
}

type ThirdSourceListRequest

type ThirdSourceListRequest struct {
	model.ThirdSource
	CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"`
	OrderBy             string                `json:"orderBy"`
}

type ThirdSourcePublic

type ThirdSourcePublic struct {
	ID     uint64 `json:"id,string"`
	Name   string `json:"name"`
	Code   string `json:"code"`
	AppKey string `json:"appKey"`
	CorpID string `json:"corpId"`
}

type UserDispatchRolesRequest

type UserDispatchRolesRequest struct {
	UserID     uint64   `json:"userId,string"`
	RoleIDList []uint64 `json:"roleIdList"`
}

func (*UserDispatchRolesRequest) UnmarshalJSON

func (r *UserDispatchRolesRequest) UnmarshalJSON(b []byte) error

type UserListRequest

type UserListRequest struct {
	model.User
	DepartmentID        uint64                `json:"departmentId,string"`
	CreateTimeCondition *server.TimeCondition `json:"createTimeCondition"`
	UpdateTimeCondition *server.TimeCondition `json:"updateTimeCondition"`
	OrderBy             string                `json:"orderBy"`
}

type UserResourceCodesResponse

type UserResourceCodesResponse struct {
	IsSuperAdmin     bool     `json:"isSuperAdmin"`
	ResourceCodeList []string `json:"resourceCodeList"`
	DataPermission   int      `json:"dataPermission"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL