225], [['sign', 'begin_time', 'connect_time', 'alerting_time', 'release_time', 'call_result', 'record_file_url'], 'string', 'max' => 255], [['recorder_id'], 'string', 'max' => 128], [['caller', 'called', 'caller_show', 'called_show', 'caller_area', 'called_area'], 'string', 'max' => 32], [['call_cost'], 'string', 'max' => 10], [['id'], 'unique'], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'corp_key' => 'Corp Key', 'ts' => 'Ts', 'sign' => 'Sign', 'recorder_id' => 'Recorder ID', 'caller' => 'Caller', 'called' => 'Called', 'caller_show' => 'Caller Show', 'called_show' => 'Called Show', 'begin_time' => 'Begin Time', 'connect_time' => 'Connect Time', 'alerting_time' => 'Alerting Time', 'release_time' => 'Release Time', 'call_duration' => 'Call Duration', 'bill_duration' => 'Bill Duration', 'call_result' => 'Call Result', 'record_file_url' => 'Record File Url', 'call_cost' => 'Call Cost', 'caller_area' => 'Caller Area', 'called_area' => 'Called Area', 'extend' => 'Extend', ]; } public function getUser() { return $this->hasOne(UserT::className(),['id'=>'user_id']); } }