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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttDayJsonResult

type AttDayJsonResult struct {
	basedto.JsonResult
	Code    int          `json:"code"`
	Message string       `json:"message"`
	Count   int          `json:"count"`
	Total   int32        `json:"total"`
	Data    model.AttDay `json:"data"`
}

func (*AttDayJsonResult) ToString

func (result *AttDayJsonResult) ToString() string

type AttDayPageResult

type AttDayPageResult struct {
	basedto.PageResult
	Code    int            `json:"code"`
	Message string         `json:"message"`
	Count   int            `json:"count"`
	Total   int32          `json:"total"`
	Data    []model.AttDay `json:"data"`
}

func (*AttDayPageResult) GetData

func (p *AttDayPageResult) GetData() []model.AttDay

func (*AttDayPageResult) SetData

func (p *AttDayPageResult) SetData(s []model.AttDay)

func (*AttDayPageResult) ToString

func (result *AttDayPageResult) ToString() string

type AttDayQueryParam

type AttDayQueryParam struct {
	OrderBys     *string `json:"orderBys"`
	DateRanges   map[string][]int64
	IntRanges    map[string][]int64
	StringRanges map[string][]string

	Param *model.AttDay `json:"param"`

	Start      int  `json:"start"`
	Limit      int  `json:"limit"`
	FuzzyQuery bool `json:"fuzzyQuery"`
}

func (*AttDayQueryParam) Ini

func (qp *AttDayQueryParam) Ini()

func (*AttDayQueryParam) ToString

func (qp *AttDayQueryParam) ToString() string

func (*AttDayQueryParam) ToStringIndent

func (qp *AttDayQueryParam) ToStringIndent() string

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 CmsColumnMultiParam

type CmsColumnMultiParam 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"`

	CmsColumnMultiQryDTO
}

func (*CmsColumnMultiParam) Ini

func (entity *CmsColumnMultiParam) Ini()

func (*CmsColumnMultiParam) String

func (entity *CmsColumnMultiParam) String() string

指定生成结果转json字符串

func (*CmsColumnMultiParam) ToString

func (entity *CmsColumnMultiParam) ToString() string

type CmsColumnMultiQryDTO

type CmsColumnMultiQryDTO struct {

	/*    */
	CmsColumnId *int32 `gorm:"column:cms_column_id;type:int(11);PRIMARY_KEY;comment:''" json:"cms_column_id"`
	/*    */
	CmsContentContentId *int32 `gorm:"column:cms_content_content_id;type:int(11);comment:''" json:"cms_content_content_id"`
}

func (*CmsColumnMultiQryDTO) GetCmsColumnId

func (entity *CmsColumnMultiQryDTO) GetCmsColumnId() int32

func (*CmsColumnMultiQryDTO) GetCmsContentContentId

func (entity *CmsColumnMultiQryDTO) GetCmsContentContentId() int32

func (*CmsColumnMultiQryDTO) Ini

初始化

func (*CmsColumnMultiQryDTO) SetCmsColumnId

func (entity *CmsColumnMultiQryDTO) SetCmsColumnId(CmsColumnId int32)

func (*CmsColumnMultiQryDTO) SetCmsContentContentId

func (entity *CmsColumnMultiQryDTO) SetCmsContentContentId(CmsContentContentId int32)

func (*CmsColumnMultiQryDTO) String

func (entity *CmsColumnMultiQryDTO) String() string

指定生成结果转json字符串

func (*CmsColumnMultiQryDTO) ToString

func (entity *CmsColumnMultiQryDTO) ToString() string

type CmsColumnMultiQryPageResult

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

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

func (*CmsColumnMultiQryPageResult) Fail

func (*CmsColumnMultiQryPageResult) FailCodeMsg

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

func (*CmsColumnMultiQryPageResult) FailMessage

func (*CmsColumnMultiQryPageResult) GetData

func (*CmsColumnMultiQryPageResult) SetData

func (result *CmsColumnMultiQryPageResult) SetData(data []CmsColumnMultiQryDTO)

func (*CmsColumnMultiQryPageResult) String

func (result *CmsColumnMultiQryPageResult) String() string

func (*CmsColumnMultiQryPageResult) Success

func (*CmsColumnMultiQryPageResult) SuccessData

func (*CmsColumnMultiQryPageResult) SuccessMessage

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

func (*CmsColumnMultiQryPageResult) ToString

func (result *CmsColumnMultiQryPageResult) ToString() string

type CmsColumnMultiQryParam

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

func (*CmsColumnMultiQryParam) Ini

func (param *CmsColumnMultiQryParam) Ini()

func (*CmsColumnMultiQryParam) String

func (entity *CmsColumnMultiQryParam) String() string

指定生成结果转json字符串

func (*CmsColumnMultiQryParam) ToString

func (entity *CmsColumnMultiQryParam) 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

type DepartmentJsonResult

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

func (*DepartmentJsonResult) Fail

func (*DepartmentJsonResult) FailCodeMsg

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

func (*DepartmentJsonResult) FailMessage

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

func (*DepartmentJsonResult) String

func (result *DepartmentJsonResult) String() string

func (*DepartmentJsonResult) Success

func (result *DepartmentJsonResult) Success() *DepartmentJsonResult

func (*DepartmentJsonResult) SuccessData

func (result *DepartmentJsonResult) SuccessData(data model.Department) *DepartmentJsonResult

func (*DepartmentJsonResult) SuccessMessage

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

func (*DepartmentJsonResult) ToString

func (result *DepartmentJsonResult) ToString() string

type DepartmentPageResult

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

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

func (*DepartmentPageResult) Fail

func (*DepartmentPageResult) FailCodeMsg

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

func (*DepartmentPageResult) FailMessage

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

func (*DepartmentPageResult) GetData

func (result *DepartmentPageResult) GetData() []model.Department

func (*DepartmentPageResult) SetData

func (result *DepartmentPageResult) SetData(s []model.Department)

func (*DepartmentPageResult) String

func (result *DepartmentPageResult) String() string

func (*DepartmentPageResult) Success

func (result *DepartmentPageResult) Success() *DepartmentPageResult

func (*DepartmentPageResult) SuccessData

func (result *DepartmentPageResult) SuccessData(data []model.Department) *DepartmentPageResult

func (*DepartmentPageResult) SuccessMessage

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

func (*DepartmentPageResult) ToString

func (result *DepartmentPageResult) ToString() string

type DepartmentParam

type DepartmentParam 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.Department
}

type DepartmentQueryParam

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

func (*DepartmentQueryParam) Ini

func (param *DepartmentQueryParam) Ini()

func (*DepartmentQueryParam) String

func (param *DepartmentQueryParam) String() string

func (*DepartmentQueryParam) ToString

func (param *DepartmentQueryParam) ToString() string

type EmployeeDptMultiParam

type EmployeeDptMultiParam 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"`

	EmployeeDptMultiQueryDTO
}

func (*EmployeeDptMultiParam) Ini

func (entity *EmployeeDptMultiParam) Ini()

func (*EmployeeDptMultiParam) String

func (entity *EmployeeDptMultiParam) String() string

指定生成结果转json字符串

func (*EmployeeDptMultiParam) ToString

func (entity *EmployeeDptMultiParam) ToString() string

type EmployeeDptMultiQueryDTO

type EmployeeDptMultiQueryDTO struct {

	/*  员工编号  */
	EmployeeId *int32 `gorm:"column:employee_id;type:int(11);PRIMARY_KEY;comment:'员工编号'" json:"employee_id"`
	/*  员工姓名  */
	EmployeeName *string `gorm:"column:employee_name;type:varchar(16);comment:'员工姓名'" json:"employee_name"`
	/*  入职日期  */
	EmployeeBeginDate *model.LocalDateInt `gorm:"column:employee_beginDate;type:date;comment:'入职日期'" json:"employee_beginDate"`
	/*  部门名称  */
	DepartmentName *string `gorm:"column:department_name;type:varchar(32);comment:'部门名称'" json:"department_name"`
	/*  职称名称  */
	JoblevelName *string `gorm:"column:joblevel_name;type:varchar(32);comment:'职称名称'" json:"joblevel_name"`
}

func (*EmployeeDptMultiQueryDTO) GetDepartmentName

func (entity *EmployeeDptMultiQueryDTO) GetDepartmentName() string

func (*EmployeeDptMultiQueryDTO) GetEmployeeBeginDate

func (entity *EmployeeDptMultiQueryDTO) GetEmployeeBeginDate() model.LocalDateInt

func (*EmployeeDptMultiQueryDTO) GetEmployeeId

func (entity *EmployeeDptMultiQueryDTO) GetEmployeeId() int32

func (*EmployeeDptMultiQueryDTO) GetEmployeeName

func (entity *EmployeeDptMultiQueryDTO) GetEmployeeName() string

func (*EmployeeDptMultiQueryDTO) GetJoblevelName

func (entity *EmployeeDptMultiQueryDTO) GetJoblevelName() string

func (*EmployeeDptMultiQueryDTO) Ini

初始化

func (*EmployeeDptMultiQueryDTO) SetDepartmentName

func (entity *EmployeeDptMultiQueryDTO) SetDepartmentName(DepartmentName string)

func (*EmployeeDptMultiQueryDTO) SetEmployeeBeginDate

func (entity *EmployeeDptMultiQueryDTO) SetEmployeeBeginDate(EmployeeBeginDate model.LocalDateInt)

func (*EmployeeDptMultiQueryDTO) SetEmployeeId

func (entity *EmployeeDptMultiQueryDTO) SetEmployeeId(EmployeeId int32)

func (*EmployeeDptMultiQueryDTO) SetEmployeeName

func (entity *EmployeeDptMultiQueryDTO) SetEmployeeName(EmployeeName string)

func (*EmployeeDptMultiQueryDTO) SetJoblevelName

func (entity *EmployeeDptMultiQueryDTO) SetJoblevelName(JoblevelName string)

func (*EmployeeDptMultiQueryDTO) String

func (entity *EmployeeDptMultiQueryDTO) String() string

指定生成结果转json字符串

func (*EmployeeDptMultiQueryDTO) ToString

func (entity *EmployeeDptMultiQueryDTO) ToString() string

type EmployeeDptMultiQueryPageResult

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

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

func (*EmployeeDptMultiQueryPageResult) Fail

func (*EmployeeDptMultiQueryPageResult) FailCodeMsg

func (*EmployeeDptMultiQueryPageResult) FailMessage

func (*EmployeeDptMultiQueryPageResult) GetData

func (*EmployeeDptMultiQueryPageResult) SetData

func (*EmployeeDptMultiQueryPageResult) String

func (result *EmployeeDptMultiQueryPageResult) String() string

func (*EmployeeDptMultiQueryPageResult) Success

func (*EmployeeDptMultiQueryPageResult) SuccessData

func (*EmployeeDptMultiQueryPageResult) SuccessMessage

func (*EmployeeDptMultiQueryPageResult) ToString

func (result *EmployeeDptMultiQueryPageResult) ToString() string

type EmployeeDptMultiQueryParam

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

func (*EmployeeDptMultiQueryParam) Ini

func (param *EmployeeDptMultiQueryParam) Ini()

func (*EmployeeDptMultiQueryParam) String

func (entity *EmployeeDptMultiQueryParam) String() string

指定生成结果转json字符串

func (*EmployeeDptMultiQueryParam) ToString

func (entity *EmployeeDptMultiQueryParam) ToString() string

type EmployeeJsonResult

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

func (*EmployeeJsonResult) Fail

func (result *EmployeeJsonResult) Fail() *EmployeeJsonResult

func (*EmployeeJsonResult) FailCodeMsg

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

func (*EmployeeJsonResult) FailMessage

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

func (*EmployeeJsonResult) String

func (result *EmployeeJsonResult) String() string

func (*EmployeeJsonResult) Success

func (result *EmployeeJsonResult) Success() *EmployeeJsonResult

func (*EmployeeJsonResult) SuccessData

func (result *EmployeeJsonResult) SuccessData(data model.Employee) *EmployeeJsonResult

func (*EmployeeJsonResult) SuccessMessage

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

func (*EmployeeJsonResult) ToString

func (result *EmployeeJsonResult) ToString() string

type EmployeeMultiParam

type EmployeeMultiParam 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"`

	EmployeeMultiQryDTO
}

func (*EmployeeMultiParam) Ini

func (entity *EmployeeMultiParam) Ini()

func (*EmployeeMultiParam) String

func (entity *EmployeeMultiParam) String() string

指定生成结果转json字符串

func (*EmployeeMultiParam) ToString

func (entity *EmployeeMultiParam) ToString() string

type EmployeeMultiQryDTO

type EmployeeMultiQryDTO struct {

	/*  员工编号  */
	EmployeeId *int32 `gorm:"column:employee_id;type:int(11);PRIMARY_KEY;comment:'员工编号'" json:"employee_id"`
	/*  员工姓名  */
	EmployeeName *string `gorm:"column:employee_name;type:varchar(16);comment:'员工姓名'" json:"employee_name"`
	/*  入职日期  */
	EmployeeBeginDate *model.LocalDate `gorm:"column:employee_beginDate;type:date;comment:'入职日期'" json:"employee_beginDate"`
	/*  部门名称  */
	DepartmentName *string `gorm:"column:department_name;type:varchar(32);comment:'部门名称'" json:"department_name"`
	/*  职称名称  */
	JoblevelName *string `gorm:"column:joblevel_name;type:varchar(32);comment:'职称名称'" json:"joblevel_name"`
}

func (*EmployeeMultiQryDTO) GetDepartmentName

func (entity *EmployeeMultiQryDTO) GetDepartmentName() string

func (*EmployeeMultiQryDTO) GetEmployeeBeginDate

func (entity *EmployeeMultiQryDTO) GetEmployeeBeginDate() model.LocalDate

func (*EmployeeMultiQryDTO) GetEmployeeId

func (entity *EmployeeMultiQryDTO) GetEmployeeId() int32

func (*EmployeeMultiQryDTO) GetEmployeeName

func (entity *EmployeeMultiQryDTO) GetEmployeeName() string

func (*EmployeeMultiQryDTO) GetJoblevelName

func (entity *EmployeeMultiQryDTO) GetJoblevelName() string

func (*EmployeeMultiQryDTO) Ini

初始化

func (*EmployeeMultiQryDTO) SetDepartmentName

func (entity *EmployeeMultiQryDTO) SetDepartmentName(DepartmentName string)

func (*EmployeeMultiQryDTO) SetEmployeeBeginDate

func (entity *EmployeeMultiQryDTO) SetEmployeeBeginDate(EmployeeBeginDate model.LocalDate)

func (*EmployeeMultiQryDTO) SetEmployeeId

func (entity *EmployeeMultiQryDTO) SetEmployeeId(EmployeeId int32)

func (*EmployeeMultiQryDTO) SetEmployeeName

func (entity *EmployeeMultiQryDTO) SetEmployeeName(EmployeeName string)

func (*EmployeeMultiQryDTO) SetJoblevelName

func (entity *EmployeeMultiQryDTO) SetJoblevelName(JoblevelName string)

func (*EmployeeMultiQryDTO) String

func (entity *EmployeeMultiQryDTO) String() string

指定生成结果转json字符串

func (*EmployeeMultiQryDTO) ToString

func (entity *EmployeeMultiQryDTO) ToString() string

type EmployeeMultiQryPageResult

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

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

func (*EmployeeMultiQryPageResult) Fail

func (*EmployeeMultiQryPageResult) FailCodeMsg

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

func (*EmployeeMultiQryPageResult) FailMessage

func (*EmployeeMultiQryPageResult) GetData

func (result *EmployeeMultiQryPageResult) GetData() []EmployeeMultiQryDTO

func (*EmployeeMultiQryPageResult) SetData

func (result *EmployeeMultiQryPageResult) SetData(data []EmployeeMultiQryDTO)

func (*EmployeeMultiQryPageResult) String

func (result *EmployeeMultiQryPageResult) String() string

func (*EmployeeMultiQryPageResult) Success

func (*EmployeeMultiQryPageResult) SuccessData

func (*EmployeeMultiQryPageResult) SuccessMessage

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

func (*EmployeeMultiQryPageResult) ToString

func (result *EmployeeMultiQryPageResult) ToString() string

type EmployeeMultiQryParam

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

func (*EmployeeMultiQryParam) Ini

func (param *EmployeeMultiQryParam) Ini()

func (*EmployeeMultiQryParam) String

func (entity *EmployeeMultiQryParam) String() string

指定生成结果转json字符串

func (*EmployeeMultiQryParam) ToString

func (entity *EmployeeMultiQryParam) ToString() string

type EmployeePageResult

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

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

func (*EmployeePageResult) Fail

func (result *EmployeePageResult) Fail() *EmployeePageResult

func (*EmployeePageResult) FailCodeMsg

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

func (*EmployeePageResult) FailMessage

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

func (*EmployeePageResult) GetData

func (result *EmployeePageResult) GetData() []model.Employee

func (*EmployeePageResult) SetData

func (result *EmployeePageResult) SetData(s []model.Employee)

func (*EmployeePageResult) String

func (result *EmployeePageResult) String() string

func (*EmployeePageResult) Success

func (result *EmployeePageResult) Success() *EmployeePageResult

func (*EmployeePageResult) SuccessData

func (result *EmployeePageResult) SuccessData(data []model.Employee) *EmployeePageResult

func (*EmployeePageResult) SuccessMessage

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

func (*EmployeePageResult) ToString

func (result *EmployeePageResult) ToString() string

type EmployeeParam

type EmployeeParam 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.Employee
}

type EmployeeQueryParam

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

func (*EmployeeQueryParam) Ini

func (param *EmployeeQueryParam) Ini()

func (*EmployeeQueryParam) String

func (param *EmployeeQueryParam) String() string

func (*EmployeeQueryParam) ToString

func (param *EmployeeQueryParam) ToString() string

type HubLevelsJsonResult

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

func (*HubLevelsJsonResult) Fail

func (result *HubLevelsJsonResult) Fail() *HubLevelsJsonResult

func (*HubLevelsJsonResult) FailCodeMsg

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

func (*HubLevelsJsonResult) FailMessage

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

func (*HubLevelsJsonResult) String

func (result *HubLevelsJsonResult) String() string

func (*HubLevelsJsonResult) Success

func (result *HubLevelsJsonResult) Success() *HubLevelsJsonResult

func (*HubLevelsJsonResult) SuccessData

func (result *HubLevelsJsonResult) SuccessData(data model.HubLevels) *HubLevelsJsonResult

func (*HubLevelsJsonResult) SuccessMessage

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

func (*HubLevelsJsonResult) ToString

func (result *HubLevelsJsonResult) ToString() string

type HubLevelsPageResult

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

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

func (*HubLevelsPageResult) Fail

func (result *HubLevelsPageResult) Fail() *HubLevelsPageResult

func (*HubLevelsPageResult) FailCodeMsg

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

func (*HubLevelsPageResult) FailMessage

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

func (*HubLevelsPageResult) GetData

func (result *HubLevelsPageResult) GetData() []model.HubLevels

func (*HubLevelsPageResult) SetData

func (result *HubLevelsPageResult) SetData(s []model.HubLevels)

func (*HubLevelsPageResult) String

func (result *HubLevelsPageResult) String() string

func (*HubLevelsPageResult) Success

func (result *HubLevelsPageResult) Success() *HubLevelsPageResult

func (*HubLevelsPageResult) SuccessData

func (result *HubLevelsPageResult) SuccessData(data []model.HubLevels) *HubLevelsPageResult

func (*HubLevelsPageResult) SuccessMessage

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

func (*HubLevelsPageResult) ToString

func (result *HubLevelsPageResult) ToString() string

type HubLevelsParam

type HubLevelsParam 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.HubLevels
}

type HubLevelsQueryParam

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

func (*HubLevelsQueryParam) Ini

func (param *HubLevelsQueryParam) Ini()

func (*HubLevelsQueryParam) String

func (param *HubLevelsQueryParam) String() string

func (*HubLevelsQueryParam) ToString

func (param *HubLevelsQueryParam) ToString() string

type HubQuotasJsonResult

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

func (*HubQuotasJsonResult) Fail

func (result *HubQuotasJsonResult) Fail() *HubQuotasJsonResult

func (*HubQuotasJsonResult) FailCodeMsg

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

func (*HubQuotasJsonResult) FailMessage

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

func (*HubQuotasJsonResult) String

func (result *HubQuotasJsonResult) String() string

func (*HubQuotasJsonResult) Success

func (result *HubQuotasJsonResult) Success() *HubQuotasJsonResult

func (*HubQuotasJsonResult) SuccessData

func (result *HubQuotasJsonResult) SuccessData(data model.HubQuotas) *HubQuotasJsonResult

func (*HubQuotasJsonResult) SuccessMessage

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

func (*HubQuotasJsonResult) ToString

func (result *HubQuotasJsonResult) ToString() string

type HubQuotasPageResult

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

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

func (*HubQuotasPageResult) Fail

func (result *HubQuotasPageResult) Fail() *HubQuotasPageResult

func (*HubQuotasPageResult) FailCodeMsg

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

func (*HubQuotasPageResult) FailMessage

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

func (*HubQuotasPageResult) GetData

func (result *HubQuotasPageResult) GetData() []model.HubQuotas

func (*HubQuotasPageResult) SetData

func (result *HubQuotasPageResult) SetData(s []model.HubQuotas)

func (*HubQuotasPageResult) String

func (result *HubQuotasPageResult) String() string

func (*HubQuotasPageResult) Success

func (result *HubQuotasPageResult) Success() *HubQuotasPageResult

func (*HubQuotasPageResult) SuccessData

func (result *HubQuotasPageResult) SuccessData(data []model.HubQuotas) *HubQuotasPageResult

func (*HubQuotasPageResult) SuccessMessage

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

func (*HubQuotasPageResult) ToString

func (result *HubQuotasPageResult) ToString() string

type HubQuotasParam

type HubQuotasParam 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.HubQuotasVo
}

type HubQuotasQueryParam

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

func (*HubQuotasQueryParam) Ini

func (param *HubQuotasQueryParam) Ini()

func (*HubQuotasQueryParam) String

func (param *HubQuotasQueryParam) String() string

func (*HubQuotasQueryParam) ToString

func (param *HubQuotasQueryParam) ToString() string

type JoblevelJsonResult

type JoblevelJsonResult struct {
	basedto.JsonResult
	Code    int            `json:"code"`
	Message string         `json:"message"`
	Count   int            `json:"count"`
	Total   int32          `json:"total"`
	Data    model.Joblevel `json:"data"`
}

func (*JoblevelJsonResult) ToString

func (result *JoblevelJsonResult) ToString() string

type JoblevelPageResult

type JoblevelPageResult struct {
	basedto.PageResult
	Code    int              `json:"code"`
	Message string           `json:"message"`
	Count   int              `json:"count"`
	Total   int32            `json:"total"`
	Data    []model.Joblevel `json:"data"`
}

func (*JoblevelPageResult) GetData

func (p *JoblevelPageResult) GetData() []model.Joblevel

func (*JoblevelPageResult) SetData

func (p *JoblevelPageResult) SetData(s []model.Joblevel)

func (*JoblevelPageResult) ToString

func (result *JoblevelPageResult) ToString() string

type JoblevelQueryParam

type JoblevelQueryParam struct {
	OrderBys     *string `json:"orderBys"`
	DateRanges   map[string][]int64
	IntRanges    map[string][]int64
	StringRanges map[string][]string

	Param *model.Joblevel `json:"param"`

	Start      int  `json:"start"`
	Limit      int  `json:"limit"`
	FuzzyQuery bool `json:"fuzzyQuery"`
}

func (*JoblevelQueryParam) Ini

func (qp *JoblevelQueryParam) Ini()

func (*JoblevelQueryParam) ToString

func (qp *JoblevelQueryParam) ToString() string

type TableName1MultiParam

type TableName1MultiParam 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"`

	TableName1MultiQueryDTO
}

func (*TableName1MultiParam) Ini

func (entity *TableName1MultiParam) Ini()

func (*TableName1MultiParam) String

func (entity *TableName1MultiParam) String() string

指定生成结果转json字符串

func (*TableName1MultiParam) ToString

func (entity *TableName1MultiParam) ToString() string

type TableName1MultiQueryDTO

type TableName1MultiQueryDTO struct {

	/*    */
	TableName1Id *int64 `gorm:"column:table_name1_id;type:INT8;PRIMARY_KEY" json:"table_name1_id,string"`
	/*    */
	TableName2Id *int64 `gorm:"column:table_name2_id;type:INT8;PRIMARY_KEY" json:"table_name2_id,string"`
}

func (*TableName1MultiQueryDTO) GetTableName1Id

func (entity *TableName1MultiQueryDTO) GetTableName1Id() int64

func (*TableName1MultiQueryDTO) GetTableName2Id

func (entity *TableName1MultiQueryDTO) GetTableName2Id() int64

func (*TableName1MultiQueryDTO) Ini

初始化

func (*TableName1MultiQueryDTO) SetTableName1Id

func (entity *TableName1MultiQueryDTO) SetTableName1Id(TableName1Id int64)

func (*TableName1MultiQueryDTO) SetTableName2Id

func (entity *TableName1MultiQueryDTO) SetTableName2Id(TableName2Id int64)

func (*TableName1MultiQueryDTO) String

func (entity *TableName1MultiQueryDTO) String() string

指定生成结果转json字符串

func (*TableName1MultiQueryDTO) ToString

func (entity *TableName1MultiQueryDTO) ToString() string

type TableName1MultiQueryPageResult

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

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

func (*TableName1MultiQueryPageResult) Fail

func (*TableName1MultiQueryPageResult) FailCodeMsg

func (*TableName1MultiQueryPageResult) FailMessage

func (*TableName1MultiQueryPageResult) GetData

func (*TableName1MultiQueryPageResult) SetData

func (*TableName1MultiQueryPageResult) String

func (result *TableName1MultiQueryPageResult) String() string

func (*TableName1MultiQueryPageResult) Success

func (*TableName1MultiQueryPageResult) SuccessData

func (*TableName1MultiQueryPageResult) SuccessMessage

func (*TableName1MultiQueryPageResult) ToString

func (result *TableName1MultiQueryPageResult) ToString() string

type TableName1MultiQueryParam

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

func (*TableName1MultiQueryParam) Ini

func (param *TableName1MultiQueryParam) Ini()

func (*TableName1MultiQueryParam) String

func (entity *TableName1MultiQueryParam) String() string

指定生成结果转json字符串

func (*TableName1MultiQueryParam) ToString

func (entity *TableName1MultiQueryParam) ToString() string

Jump to

Keyboard shortcuts

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