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 CmsColumnJsonResult

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

func (*CmsColumnJsonResult) Fail

func (result *CmsColumnJsonResult) Fail() *CmsColumnJsonResult

func (*CmsColumnJsonResult) FailCodeMsg

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

func (*CmsColumnJsonResult) FailMessage

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

func (*CmsColumnJsonResult) String

func (result *CmsColumnJsonResult) String() string

func (*CmsColumnJsonResult) Success

func (result *CmsColumnJsonResult) Success() *CmsColumnJsonResult

func (*CmsColumnJsonResult) SuccessData

func (result *CmsColumnJsonResult) SuccessData(data model.CmsColumn) *CmsColumnJsonResult

func (*CmsColumnJsonResult) SuccessMessage

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

func (*CmsColumnJsonResult) ToString

func (result *CmsColumnJsonResult) ToString() string

type CmsColumnPageResult

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

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

func (*CmsColumnPageResult) Fail

func (result *CmsColumnPageResult) Fail() *CmsColumnPageResult

func (*CmsColumnPageResult) FailCodeMsg

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

func (*CmsColumnPageResult) FailMessage

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

func (*CmsColumnPageResult) GetData

func (result *CmsColumnPageResult) GetData() []model.CmsColumn

func (*CmsColumnPageResult) SetData

func (result *CmsColumnPageResult) SetData(s []model.CmsColumn)

func (*CmsColumnPageResult) String

func (result *CmsColumnPageResult) String() string

func (*CmsColumnPageResult) Success

func (result *CmsColumnPageResult) Success() *CmsColumnPageResult

func (*CmsColumnPageResult) SuccessData

func (result *CmsColumnPageResult) SuccessData(data []model.CmsColumn) *CmsColumnPageResult

func (*CmsColumnPageResult) SuccessMessage

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

func (*CmsColumnPageResult) ToString

func (result *CmsColumnPageResult) ToString() string

type CmsColumnParam

type CmsColumnParam 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.CmsColumn
}

type CmsColumnQueryParam

type CmsColumnQueryParam 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 *CmsColumnParam `json:"param"`
}

func (*CmsColumnQueryParam) Ini

func (param *CmsColumnQueryParam) Ini()

func (*CmsColumnQueryParam) String

func (param *CmsColumnQueryParam) String() string

func (*CmsColumnQueryParam) ToString

func (param *CmsColumnQueryParam) ToString() string

Jump to

Keyboard shortcuts

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