chore: add ansible backend docker frontend-prep
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package models
|
||||
|
||||
type UpdateClientProfileRequest struct {
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty"` // Optionnel
|
||||
Nom string `json:"nom,omitempty"`
|
||||
Prenom string `json:"prenom,omitempty"`
|
||||
Telephone string `json:"telephone,omitempty"`
|
||||
}
|
||||
|
||||
type UpdateUserProfileRequest struct {
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty"` // Optionnel
|
||||
Role string `json:"role,omitempty"`
|
||||
}
|
||||
|
||||
type AdminUpdateClientRequest struct {
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty"` // Optionnel
|
||||
Nom string `json:"nom,omitempty"`
|
||||
Prenom string `json:"prenom,omitempty"`
|
||||
Telephone string `json:"telephone,omitempty"`
|
||||
Command *int `json:"command,omitempty"`
|
||||
Point *int `json:"point,omitempty"`
|
||||
PointsZipette *int `json:"points_zipette,omitempty"`
|
||||
Amende *float64 `json:"amende,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user