* @since 1.0.0 */ protected static array $columns = [ 'accounting_costobject_id' => ['name' => 'accounting_costobject_id', 'type' => 'int', 'internal' => 'id'], 'accounting_costobject_code' => ['name' => 'accounting_costobject_code', 'type' => 'string', 'internal' => 'code'], ]; /** * Has many relation. * * @var array * @since 1.0.0 */ protected static array $hasMany = [ 'l11n' => [ 'mapper' => L11nCostObjectMapper::class, 'table' => 'accounting_costobject_l11n', 'self' => 'accounting_costobject_l11n_costobject', 'conditional' => true, 'external' => null, ], ]; /** * Model to use by the mapper. * * @var string * @since 1.0.0 */ protected static string $model = CostObject::class; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'accounting_costobject'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'accounting_costobject_id'; }