Private
Public Access
bueno es parte del plan de implementacion para el caso de uso de gestion
de stock
This commit is contained in:
1 parent
24e746b1b7
commit
6ed8805e21
40 files changed
+2748
-31
No files matched your search
@@ -6,5 +6,8 @@ type Proveedor struct {
|
||||
gorm.Model
|
||||
EmpresaID uint `gorm:"not null;default:1;index" json:"empresaId"`
|
||||
Nombre string `gorm:"type:varchar(40)" json:"nombre"`
|
||||
Cuit string `gorm:"type:varchar(11);index" json:"cuit,omitempty"`
|
||||
Email string `gorm:"type:varchar(80)" json:"email,omitempty"`
|
||||
Telefono string `gorm:"type:varchar(30)" json:"telefono,omitempty"`
|
||||
Facturas []Factura `gorm:"foreignKey:ProveedorID" json:"facturas,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user