forked from ebhomengo/niki
18 lines
332 B
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
|
||
|
}
|
||
|
)
|