response

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepartmentID

type DepartmentID struct {
	ID       int `json:"id"`
	ParentID int `json:"parentid"`
	Order    int `json:"order"`
}

type ResponseDepartmentCreate

type ResponseDepartmentCreate struct {
	*response.ResponseWork
	ID int `json:"id"`
}

type ResponseDepartmentDelete

type ResponseDepartmentDelete struct {
	*response.ResponseWork
}

type ResponseDepartmentGet added in v2.0.8

type ResponseDepartmentGet struct {
	*response.ResponseWork
	Department *models.Department `json:"department"`
}

type ResponseDepartmentIDList

type ResponseDepartmentIDList struct {
	response.ResponseWork

	DepartmentIDs []DepartmentID `json:"department_id"`
}

type ResponseDepartmentList

type ResponseDepartmentList struct {
	response.ResponseWork
	Departments []*models.Department `json:"department"`
}

type ResponseDepartmentUpdate

type ResponseDepartmentUpdate struct {
	response.ResponseWork
}

Jump to

Keyboard shortcuts

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