Private
Public Access
termine de crear los modelos por una segunda vez
This commit is contained in:
1 parent
152a40ca19
commit
8a1ea71805
12 files changed
+49
-17
No files matched your search
@@ -3,7 +3,7 @@ package models
|
||||
type Almacen struct {
|
||||
ID string `gorm:"primaryKey;type:varchar(5)" json:"id"`
|
||||
Ubicacion string `gorm:"type:varchar(40)" json:"ubicacion"`
|
||||
Stocks []Stock `gorm:"foreignKey:RepuestoID" json:"stocks,omitempty"`
|
||||
Stocks []Stock `gorm:"foreignKey:repuestoID" json:"stocks,omitempty"`
|
||||
}
|
||||
|
||||
func (Almacen) TableName() string {
|
||||
|
||||
Reference in new issue
Block a user