public function getCdata() { return $this->hasOne(TicketCdata::className(), array('ticket_id' => 'ticket_id')); }