funcionalidad de alta repuesto terminada

This commit is contained in:
fede committed 2026-07-01 01:00:12 -03:00
1 parent d0500dc764
commit 352973d2f5
15 files changed
+218 -38

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ import (
type Marca struct {
ID string `gorm:"primaryKey;type:varchar(3)" json:"id"`
Razon string `gorm:"uniqueIndex;not null;type:varchar(70)" json:"razon"`
Nombre string `gorm:"uniqueIndex;not null;type:varchar(70)" json:"nombre"`
Repuestos []Repuesto `gorm:"foreignKey:MarcaID"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`