forked from ebhomengo/niki
1
0
Fork 0
niki/entity/piggy_bank/contract.go

10 lines
288 B
Go

package entitypiggybank
type PiggyBankServices interface {
AddPiggyBank([]PiggyBank) error
EditPiggyBank(piggyID uint, piggyBankInput PiggyBank) error
DeletePiggyBank(piggyID uint) error
GetAllPiggyBank() ([]PiggyBank, error)
GetPiggyBankByID(piggyBankID uint) (PiggyBank, error)
}