Private
Public Access
fix(UI): un par de arreglos en la presentacion
This commit is contained in:
1 parent
352973d2f5
commit
72790ac9a3
3 files changed
+6
-4
No files matched your search
@@ -13,7 +13,7 @@ type Repuesto struct {
|
||||
Nombre string `gorm:"type:varchar(50);not null" json:"nombre" binding:"required"`
|
||||
Precio float64 `gorm:"not null;type:decimal(10,2)" json:"precio" binding:"required"`
|
||||
StockMinimo int64 `gorm:"not null;type:bigint" json:"stockMinimo" binding:"required"`
|
||||
Descripcion string `gorm:"uniqueIndex;not null;type:varchar(70)" json:"razon" binding:"required"`
|
||||
Descripcion string `gorm:"uniqueIndex;not null;type:varchar(70)" json:"descripcion" binding:"required"`
|
||||
MarcaID string `gorm:"type:varchar(3);index" json:"marcaId" binding:"required"`
|
||||
Aliases datatypes.JSONSlice[string] `gorm:"type:json" json:"aliases,omitempty"`
|
||||
Stocks []Stock `gorm:"foreignKey:RepuestoID" json:"stocks,omitempty"`
|
||||
|
||||
Reference in new issue
Block a user