package contabilidad import "gorm.io/gorm" type CuentaContable struct { gorm.Model EmpresaID uint `gorm:"not null;default:1;index;uniqueIndex:uq_cuenta_empresa_nombre,priority:1" json:"empresaId"` Nombre string `gorm:"type:varchar(30);not null;uniqueIndex:uq_cuenta_empresa_nombre,priority:2"` Tipo string `gorm:"type:varchar(12);not null"` Movimientos []MovimientoContable `gorm:"foreignKey:CuentaID"` }