Private
Public Access
12 lines
300 B
Go
12 lines
300 B
Go
package models
|
|
|
|
type NotaDebito struct {
|
|
Comprobante
|
|
Motivo string `gorm:"type:varchar(40),not null"`
|
|
FacturaOrigen Factura `gorm:"foreignKey:facturaID" json:"factura"`
|
|
FacturaOrigenID uint `gorm:"column:facturaID"`
|
|
}
|
|
func (NotaDebito) TableName() string {
|
|
return "nota_debito"
|
|
}
|