vo

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	Col  string
	Sort string
}

排序条件

type Page

type Page struct {
	// 排序规则
	Orders []Order
	// 页码
	PageNo int
	// 每页行数
	Size int
	User UserVo
}

type PageFilter

type PageFilter struct {
	// 真实姓名,前缀匹配
	Name string
	// 所属部门ID
	Dept int
}

筛选条件

type PageQuery

type PageQuery struct {
	Filter PageFilter
	Page   Page
}

分页筛选条件

type PageRet

type PageRet struct {
	Items    interface{}
	PageNo   int
	PageSize int
	Total    int
	HasNext  bool
}

type UserVo

type UserVo struct {
	Id    int
	Name  string
	Phone string
	Dept  string
}

Jump to

Keyboard shortcuts

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