Private
Public Access
fix: añadido campos en repuesto y factura. Actualizado diagrama de dominio
This commit is contained in:
1 parent
8a1ea71805
commit
535c71dd76
4 files changed
+79
-136
No files matched your search
@@ -5,7 +5,6 @@ type Factura struct {
|
||||
Comprobante
|
||||
ClienteID uint `gorm:"column:ClienteID"`
|
||||
Cliente Cliente `gorm:"foreignKey:ClienteID" json:"cliente"`
|
||||
Total float64 `gorm:"not null;default:0" json:"total"`
|
||||
Detalles []FacturaDetalle `gorm:"type:json" json:"detalles,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user