Private
Public Access
commit parcial de implementacion de builder
Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
1 parent
f2cf7927eb
commit
4704777050
53 files changed
+1054
-863
No files matched your search
@@ -0,0 +1,24 @@
|
||||
package dto
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
dto_marcas "repuestera_back/dto/Marcas"
|
||||
)
|
||||
|
||||
// RepuestoResumen es la representación de un repuesto sin sus stocks
|
||||
// asociados. Se usa dentro de respuestas de stock y de facturas.
|
||||
type RepuestoResumen struct {
|
||||
ID uint `json:"ID"`
|
||||
CreatedAt time.Time `json:"CreatedAt"`
|
||||
UpdatedAt time.Time `json:"UpdatedAt"`
|
||||
DeletedAt *time.Time `json:"DeletedAt"`
|
||||
EmpresaID uint `json:"empresaId"`
|
||||
Nombre string `json:"nombre"`
|
||||
Descripcion string `json:"descripcion"`
|
||||
Precio float64 `json:"precio"`
|
||||
StockMinimo int64 `json:"stockMinimo"`
|
||||
MarcaID uint `json:"marcaId"`
|
||||
Marca *dto_marcas.MarcaResumen `json:"marca,omitempty"`
|
||||
Aliases []string `json:"aliases,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user