dto

package
v0.0.0-...-23f7283 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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 BetweenFields

type BetweenFields struct {
	// contains filtered or unexported fields
}

type DateInt

type DateInt int64

type EmployeeDto

type EmployeeDto struct {
	model.Employee
}

func NewEmployeeDto

func NewEmployeeDto() *EmployeeDto

type EmployeeEntityDto

type EmployeeEntityDto struct {
	model.EmployeeEntity
}

func NewEmployeeEntityDto

func NewEmployeeEntityDto() *EmployeeEntityDto

type EmployeeParamsDto

type EmployeeParamsDto struct {
	model.EmployeeParams
}

func NewEmployeeParamsDto

func NewEmployeeParamsDto() *EmployeeParamsDto

type QueryRange

type QueryRange struct {
	DateRanges map[string][]int64 `json:"date_ranges,string"`
	Ranges     map[string][]any   `json:"ranges"`
	InRanges   map[string]string  `json:"in_ranges"`
}

type SysDeptJsonResult

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

func (*SysDeptJsonResult) Fail

func (result *SysDeptJsonResult) Fail() *SysDeptJsonResult

func (*SysDeptJsonResult) FailCodeMsg

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

func (*SysDeptJsonResult) FailMessage

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

func (*SysDeptJsonResult) String

func (result *SysDeptJsonResult) String() string

func (*SysDeptJsonResult) Success

func (result *SysDeptJsonResult) Success() *SysDeptJsonResult

func (*SysDeptJsonResult) SuccessData

func (result *SysDeptJsonResult) SuccessData(data model.SysDept) *SysDeptJsonResult

func (*SysDeptJsonResult) SuccessMessage

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

func (*SysDeptJsonResult) ToString

func (result *SysDeptJsonResult) ToString() string

type SysDeptPageResult

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

	Page basedto.PageParam `json:"pagemsg"`
	Data []model.SysDept   `json:"data"`
}

func (*SysDeptPageResult) Fail

func (result *SysDeptPageResult) Fail() *SysDeptPageResult

func (*SysDeptPageResult) FailCodeMsg

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

func (*SysDeptPageResult) FailMessage

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

func (*SysDeptPageResult) GetData

func (result *SysDeptPageResult) GetData() []model.SysDept

func (*SysDeptPageResult) SetData

func (result *SysDeptPageResult) SetData(s []model.SysDept)

func (*SysDeptPageResult) String

func (result *SysDeptPageResult) String() string

func (*SysDeptPageResult) Success

func (result *SysDeptPageResult) Success() *SysDeptPageResult

func (*SysDeptPageResult) SuccessData

func (result *SysDeptPageResult) SuccessData(data []model.SysDept) *SysDeptPageResult

func (*SysDeptPageResult) SuccessMessage

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

func (*SysDeptPageResult) ToString

func (result *SysDeptPageResult) ToString() string

type SysDeptParam

type SysDeptParam 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.SysDeptVo
}

type SysDeptQueryParam

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

	Param *SysDeptParam `json:"param"`
}

func (*SysDeptQueryParam) Ini

func (param *SysDeptQueryParam) Ini()

func (*SysDeptQueryParam) String

func (param *SysDeptQueryParam) String() string

func (*SysDeptQueryParam) ToString

func (param *SysDeptQueryParam) ToString() string

Jump to

Keyboard shortcuts

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