Ajouter /v2/seed #4

Merged
vlbeaudoin merged 2 commits from feature/route-seed into main 2023-06-06 02:20:18 -04:00
Showing only changes of commit d696afb41f - Show all commits

View file

@ -2,9 +2,24 @@ package responses
import bottinmodels "git.agecem.com/agecem/bottin/v5/models"
type PostSeedResponse struct {
Message string `json:"message"`
}
type GetMembreResponseData struct {
Membre bottinmodels.Membre `json:"membre"`
}
type GetMembreResponse struct {
Message string `json:"message"`
Data struct {
Membre bottinmodels.Membre
} `json:"data"`
Data GetMembreResponseData `json:"data"`
}
type PostTransactionsResponseData struct {
RowsInserted int64 `json:"rows_inserted"`
}
type PostTransactionsResponse struct {
Message string `json:"message"`
Data PostTransactionsResponseData `json:"data"`
}