niki/entity/piggy_bank_request/contract.go

10 lines
398 B
Go

package entitypiggybankrequest
type PiggyRequestBankRequestServices interface {
AddPiggyRequestBank([]PiggyBankRequest) error
EditPiggyRequestBank(PiggyRequestID uint, PiggyRequestBankInput PiggyBankRequest) error
DeletePiggyRequestBank(PiggyRequestID uint) error
GetAllPiggyRequestBank() ([]PiggyBankRequest, error)
GetPiggyRequestBankByID(PiggyRequestBank uint) (PiggyBankRequest, error)
}