protected function detectAssignment(Registry $title)
    {
        return Models\Assignment::getInstance([
            'bank' => $this->bank->id,
            'agency' => $title->assignment_agency,
            'account' => $title->assignment_account,
            'cnab' => (string) $this->cnab,
        ]);
    }