|
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)
|
|
}
|