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

18 lines
332 B
Go
Raw Normal View History

2023-12-16 06:09:50 +00:00
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
}
)