dto

package
v0.0.0-...-1316524 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Msg string `json:"msg"`
}

Message ...

type PageableDto

type PageableDto struct {
	Page       int `json:"page"`
	Limit      int `json:"limit"`
	Count      int `json:"count"`
	TotalCount int `json:"total_count"`
	TotalPages int `json:"total_pages"`
}

PageableDto base dto to for pagenable response

type TodoBaseDTO

type TodoBaseDTO struct {
	Value string `json:"value"`
}

TodoBaseDTO ..

type TodoDTO

type TodoDTO struct {
	ID string `json:"id"`
	TodoBaseDTO
}

TodoDTO ...

type TodoDetailDTO

type TodoDetailDTO struct {
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	TodoDTO
}

TodoDetailDTO ...

type TodoPageableDto

type TodoPageableDto struct {
	TodoList []TodoDTO `json:"records"`
	PageableDto
}

TodoPageableDto Dto to return pageable to Todo

Jump to

Keyboard shortcuts

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