model

package
v0.0.0-...-47d9ccc Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCurrencyRequest

type AddCurrencyRequest struct {
	Name string `json:"name"`
	Code string `json:"code"`
}

func (*AddCurrencyRequest) ToApplicationModel

func (m *AddCurrencyRequest) ToApplicationModel() *model.CurrencyApplicationModel

type CurrencyResponse

type CurrencyResponse struct {
	Name string `json:"name"`
	Code string `json:"code"`
}

func NewCurrencyResponse

func NewCurrencyResponse(currency *model.CurrencyApplicationModel) *CurrencyResponse

func (*CurrencyResponse) FromApplicationModel

func (m *CurrencyResponse) FromApplicationModel(currency *model.CurrencyApplicationModel)

Jump to

Keyboard shortcuts

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