TimestampBehavior::class, 'attributes' => [ ], ], ]; } public function getCard() { return $this->hasOne(CardModel::class, ['user_id' => 'id']); } }