response

package
v3.2.43 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 2 Imported by: 1

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

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