2023-06-03 20:41:13 -04:00
|
|
|
package responses
|
|
|
|
|
2023-06-08 00:53:05 -04:00
|
|
|
import (
|
|
|
|
"git.agecem.com/agecem/bottin-agenda/models"
|
|
|
|
)
|
2023-06-03 20:41:13 -04:00
|
|
|
|
2023-06-06 02:19:06 -04:00
|
|
|
type PostSeedResponse struct {
|
2023-06-03 20:41:13 -04:00
|
|
|
Message string `json:"message"`
|
2023-06-06 02:19:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
type PostTransactionsResponseData struct {
|
2023-06-08 01:31:34 -04:00
|
|
|
Transactions []models.Transaction `json:"transactions"`
|
2023-06-06 02:19:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
type PostTransactionsResponse struct {
|
|
|
|
Message string `json:"message"`
|
|
|
|
Data PostTransactionsResponseData `json:"data"`
|
2023-06-03 20:41:13 -04:00
|
|
|
}
|
2023-06-08 00:53:05 -04:00
|
|
|
|
|
|
|
type GetTransactionsResponseData struct {
|
|
|
|
Transactions []models.Transaction `json:"transactions"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetTransactionsResponse struct {
|
|
|
|
Message string `json:"message"`
|
|
|
|
Data GetTransactionsResponseData `json:"data"`
|
|
|
|
}
|