mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
17 lines
281 B
Go
17 lines
281 B
Go
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,
|
|
}
|
|
}
|