fix: añadido campos en repuesto y factura. Actualizado diagrama de dominio

This commit is contained in:
fede committed 2026-08-07 01:48:28 -03:00
1 parent 8a1ea71805
commit 535c71dd76
4 files changed
+79 -136

No files matched your search

-1
View File
@@ -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"`
}