Private
Public Access
feat: hecha parte del back para crear clientes y correjida alta de
miembros Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
1 parent
37f1741a77
commit
405eaca25c
20 files changed
+417
-112
No files matched your search
@@ -0,0 +1,7 @@
|
||||
package dto
|
||||
|
||||
type CrearClienteDto struct {
|
||||
Nombre string `json:"nombre" binding:"required,max=40"`
|
||||
Cuit string `json:"cuit" binding:"required,max=11"`
|
||||
Email string `json:"email" binding:"omitempty,email,max=80"`
|
||||
}
|
||||
+10
-9
@@ -73,13 +73,14 @@ type InvitacionInfo struct {
|
||||
}
|
||||
|
||||
type MiembroResponse struct {
|
||||
ID uint `json:"id"`
|
||||
Email string `json:"email"`
|
||||
Name string `json:"name"`
|
||||
Activo bool `json:"activo"`
|
||||
DebeCambiarPassword bool `json:"debe_cambiar_password"`
|
||||
Rol string `json:"rol"`
|
||||
MembresiaActiva bool `json:"membresia_activa"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
ID uint `json:"id"`
|
||||
Email string `json:"email"`
|
||||
Name string `json:"name"`
|
||||
Activo bool `json:"activo"`
|
||||
DebeCambiarPassword bool `json:"debe_cambiar_password"`
|
||||
Rol string `json:"rol"`
|
||||
MembresiaActiva bool `json:"membresia_activa"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
DeletedAt *time.Time `json:"deleted_at"`
|
||||
}
|
||||
Reference in new issue
Block a user