* @since 1.0.0 */ protected static array $columns = [ 'task_account_id' => ['name' => 'task_account_id', 'type' => 'int', 'internal' => 'id'], 'task_account_duty' => ['name' => 'task_account_duty', 'type' => 'int', 'internal' => 'duty'], 'task_account_account' => ['name' => 'task_account_account', 'type' => 'int', 'internal' => 'relation'], 'task_account_task_element' => ['name' => 'task_account_task_element', 'type' => 'int', 'internal' => 'element'], ]; /** * Has one relation. * * @var array * @since 1.0.0 */ protected static array $ownsOne = [ 'relation' => [ 'mapper' => AccountMapper::class, 'external' => 'task_account_account', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'task_account'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'task_account_id'; }