mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
partial repository layer added
This commit is contained in:
16
pkg/filter/transaction.go
Normal file
16
pkg/filter/transaction.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package filter
|
||||
|
||||
import "wallet-api/pkg/model"
|
||||
|
||||
type TransactionFilter struct {
|
||||
model.Params
|
||||
BaseFilter
|
||||
NoPending bool
|
||||
TransactionStatusId string
|
||||
}
|
||||
|
||||
func NewTransactionFilter(params model.Params) *TransactionFilter {
|
||||
return &TransactionFilter{
|
||||
Params: params,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user