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

10 lines
288 B
Go
Raw Normal View History

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