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
@@ -1,10 +1,14 @@
|
||||
package models
|
||||
|
||||
import "gorm.io/datatypes"
|
||||
|
||||
type Devolucion struct {
|
||||
Comprobante
|
||||
Motivo string `gorm:"type:varchar(200);not null" json:"motivo"`
|
||||
FacturaOrigen Factura `gorm:"foreignKey:FacturaOrigenID" json:"facturaOrigen"`
|
||||
FacturaOrigenID uint `gorm:"column:facturaOrigenID;not null" json:"facturaOrigenId"`
|
||||
|
||||
Detalles datatypes.JSONSlice[DevolucionDetalle] `gorm:"type:json" json:"detalles,omitempty"`
|
||||
}
|
||||
|
||||
func (Devolucion) TableName() string {
|
||||
|
||||
Reference in new issue
Block a user