entity

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Join

type Join struct {
	Table    string `json:"table"`
	Alias    string `json:"alias"`
	JoinMode string `json:"joinMode"`
	OnList   []On   `json:"onList"`
}

type On

type On struct {
	Name      string `json:"name"`
	Value     string `json:"value"`
	Algorithm string `json:"algorithm"`
}

type Page

type Page struct {
	PageSize   int `json:"pageSize"`
	PageIndex  int `json:"pageIndex"`
	TotalPages int `json:"totalPages"`
}

type Query

type Query struct {
	Count   bool                     `json:"count"`
	Export  bool                     `json:"export"`
	Page    Page                     `json:"page"`
	Query   []map[string]interface{} `json:"query"`
	Joins   []Join                   `json:"joins"`
	OrderBy map[string]string        `json:"orderBy"`
	Select  []string                 `json:"select"`
}

type ResponseData

type ResponseData struct {
	Result  Result `json:"result"`
	Message string `json:"message"`
	ErrCode int    `json:"errCode"`
}

type Result

type Result struct {
	Data  any   `json:"data"`
	Page  Page  `json:"page"`
	Total int64 `json:"total"`
}

Jump to

Keyboard shortcuts

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