dto

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableNameJsonResult

type TableNameJsonResult struct {
	Code int32            `json:"code"`
	Msg  string           `json:"msg"`
	Data *model.TableName `json:"data"`
}

func (*TableNameJsonResult) Fail

func (result *TableNameJsonResult) Fail() *TableNameJsonResult

func (*TableNameJsonResult) FailCodeMsg

func (result *TableNameJsonResult) FailCodeMsg(code int32, msg string) *TableNameJsonResult

func (*TableNameJsonResult) FailMessage

func (result *TableNameJsonResult) FailMessage(msg string) *TableNameJsonResult

func (*TableNameJsonResult) String

func (result *TableNameJsonResult) String() string

func (*TableNameJsonResult) Success

func (result *TableNameJsonResult) Success() *TableNameJsonResult

func (*TableNameJsonResult) SuccessData

func (result *TableNameJsonResult) SuccessData(data model.TableName) *TableNameJsonResult

func (*TableNameJsonResult) SuccessMessage

func (result *TableNameJsonResult) SuccessMessage(msg string) *TableNameJsonResult

func (*TableNameJsonResult) ToString

func (result *TableNameJsonResult) ToString() string

type TableNamePageResult

type TableNamePageResult struct {
	Code int32  `json:"code"`
	Msg  string `json:"msg"`

	Page basedto.PageParam `json:"page"`
	Data []model.TableName `json:"data"`
}

func (*TableNamePageResult) Fail

func (result *TableNamePageResult) Fail() *TableNamePageResult

func (*TableNamePageResult) FailCodeMsg

func (result *TableNamePageResult) FailCodeMsg(code int32, msg string) *TableNamePageResult

func (*TableNamePageResult) FailMessage

func (result *TableNamePageResult) FailMessage(msg string) *TableNamePageResult

func (*TableNamePageResult) GetData

func (result *TableNamePageResult) GetData() []model.TableName

func (*TableNamePageResult) SetData

func (result *TableNamePageResult) SetData(s []model.TableName)

func (*TableNamePageResult) String

func (result *TableNamePageResult) String() string

func (*TableNamePageResult) Success

func (result *TableNamePageResult) Success() *TableNamePageResult

func (*TableNamePageResult) SuccessData

func (result *TableNamePageResult) SuccessData(data []model.TableName) *TableNamePageResult

func (*TableNamePageResult) SuccessMessage

func (result *TableNamePageResult) SuccessMessage(msg string) *TableNamePageResult

func (*TableNamePageResult) ToString

func (result *TableNamePageResult) ToString() string

type TableNameParam

type TableNameParam struct {
	DateRanges   map[string][]int64  `json:"date_ranges,string"`
	IntRanges    map[string][]int64  `json:"int_ranges,string"`
	StringRanges map[string][]string `json:"string_ranges"`
	InRanges     map[string]string   `json:"in_ranges"`

	model.TableName
}

type TableNameQueryParam

type TableNameQueryParam struct {
	Current    int32  `json:"current"`
	PageSize   int32  `json:"page_size"`
	OrderBys   string `json:"order_bys"`
	FuzzyQuery bool   `json:"fuzzy_query"`
	EsQuery    bool   `json:"es_query"`

	Param *TableNameParam `json:"param"`
}

func (*TableNameQueryParam) Ini

func (param *TableNameQueryParam) Ini()

func (*TableNameQueryParam) String

func (param *TableNameQueryParam) String() string

func (*TableNameQueryParam) ToString

func (param *TableNameQueryParam) ToString() string

Jump to

Keyboard shortcuts

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