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,6 +3,7 @@ package models
|
||||
|
||||
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