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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HrPageResult

type HrPageResult struct {
	dto.PageResult
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Count   int         `json:"count"`
	Total   int32       `json:"total"`
	Data    []model2.Hr `json:"data"`
}

func (*HrPageResult) GetData

func (p *HrPageResult) GetData() []model2.Hr

func (*HrPageResult) SetData

func (p *HrPageResult) SetData(s []model2.Hr)

type HrQueryParam

type HrQueryParam struct {
	OrderBys *string    `json:"orderBys"`
	Param    *model2.Hr `json:"param"`

	Start int `json:"start"`
	Limit int `json:"limit"`
}

func (*HrQueryParam) Ini

func (qp *HrQueryParam) Ini()

type UserDto

type UserDto struct {
	Name      string `json:"name"`
	Telephone string `json:"telephone"`
}

func ToUserDto

func ToUserDto(user model2.CmsUser) UserDto

Jump to

Keyboard shortcuts

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