Ajouter /v2/seed #4
1 changed files with 19 additions and 4 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue