dto

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCountryReqDTO

type AddCountryReqDTO struct {
	domSchema.AddCountryRequest
}

AddCountryReqDTO represent AddCountryReqDTO

type AddCountryResDTO

type AddCountryResDTO struct {
	Query interface{}        `json:"query"`
	Data  *domSchema.Country `json:"data"`
}

AddCountryResDTO represent AddCountryResDTO

func (*AddCountryResDTO) ToJSON

func (r *AddCountryResDTO) ToJSON() []byte

ToJSON covert to JSON

type DeleteCountryReqDTO

type DeleteCountryReqDTO struct {
	domSchema.DeleteCountryRequest
}

DeleteCountryReqDTO represent DeleteCountryReqDTO

type DeleteCountryResDTO

type DeleteCountryResDTO struct {
	Query interface{}        `json:"query"`
	Data  *domSchema.Country `json:"data"`
}

DeleteCountryResDTO represent DeleteCountryResDTO

func (*DeleteCountryResDTO) ToJSON

func (r *DeleteCountryResDTO) ToJSON() []byte

ToJSON covert to JSON

type GetCountryReqDTO

type GetCountryReqDTO struct {
	domSchema.GetDetailCountryRequest
}

GetCountryReqDTO represent GetCountryReqDTO

type GetCountryResDTO

type GetCountryResDTO struct {
	Query interface{}        `json:"query"`
	Data  *domSchema.Country `json:"data"`
}

GetCountryResDTO represent GetCountryResDTO

func (*GetCountryResDTO) ToJSON

func (r *GetCountryResDTO) ToJSON() []byte

ToJSON covert to JSON

type ListCountryResDTO

type ListCountryResDTO struct {
	Query interface{}          `json:"query"`
	Data  []*domSchema.Country `json:"data"`
}

ListCountryResDTO represent ListCountryResDTO

func (*ListCountryResDTO) ToJSON

func (r *ListCountryResDTO) ToJSON() []byte

ToJSON covert to JSON

type UpdateCountryDataDTO

type UpdateCountryDataDTO domSchema.UpdateCountryData

type UpdateCountryKeysDTO

type UpdateCountryKeysDTO domSchema.UpdateCountryKeys

type UpdateCountryReqDTO

type UpdateCountryReqDTO struct {
	Keys *UpdateCountryKeysDTO `json:"keys"`
	Data *UpdateCountryDataDTO `json:"data"`
}

UpdateCountryReqDTO represent UpdateCountryReqDTO

type UpdateCountryResDTO

type UpdateCountryResDTO struct {
	Query interface{}        `json:"query"`
	Data  *domSchema.Country `json:"data"`
}

UpdateCountryResDTO represent UpdateCountryResDTO

func (*UpdateCountryResDTO) ToJSON

func (r *UpdateCountryResDTO) ToJSON() []byte

ToJSON covert to JSON

Jump to

Keyboard shortcuts

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