Private
Public Access
funcionalidad de alta repuesto terminada
This commit is contained in:
1 parent
d0500dc764
commit
352973d2f5
15 files changed
+218
-38
No files matched your search
@@ -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"`
|
||||
|
||||
Reference in new issue
Block a user