Private
Public Access
11 lines
289 B
Go
11 lines
289 B
Go
package contabilidad
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
type CuentaContable struct {
|
|
gorm.Model
|
|
Nombre string `gorm:"type:varchar(30);not null"`
|
|
Tipo string `gorm:"type:varchar(12);not null"`
|
|
Movimientos []MovimientoContable `gorm:"foreignKey:CuentaID"`
|
|
}
|