forked from ebhomengo/niki
1
0
Fork 0
niki/dto/piggy_bank/piggy_bank.go

18 lines
332 B
Go

package dto
import (
entitypiggybank "git.gocasts.ir/ebhomengo/niki/entity/piggy_bank"
)
type (
//get
GetPiggyBankRequest struct {
ID uint `json:"id"`
TotalAmount uint `json:"totalAmount"`
SerialNumber string `json:"serialNumber"`
}
GetPiggyBankResponse struct {
Games []entitypiggybank.PiggyBank
}
)