qifengyuze
zhaocheng 5 years ago
parent e146660e6b
commit 3a40e4a673
  1. 4
      common/models/NetworkPhoneT.php

@ -47,11 +47,11 @@ class NetworkPhoneT extends \yii\db\ActiveRecord
return [ return [
[['id'], 'required'], [['id'], 'required'],
[['id', 'ts', 'call_duration', 'bill_duration'], 'integer'], [['id', 'ts', 'call_duration', 'bill_duration'], 'integer'],
[['corp_key'], 'string', 'max' => 225], [['corp_key', 'extend'], 'string', 'max' => 225],
[['sign', 'begin_time', 'connect_time', 'alerting_time', 'release_time', 'call_result', 'record_file_url'], 'string', 'max' => 255], [['sign', 'begin_time', 'connect_time', 'alerting_time', 'release_time', 'call_result', 'record_file_url'], 'string', 'max' => 255],
[['recorder_id'], 'string', 'max' => 128], [['recorder_id'], 'string', 'max' => 128],
[['caller', 'called', 'caller_show', 'called_show', 'caller_area', 'called_area'], 'string', 'max' => 32], [['caller', 'called', 'caller_show', 'called_show', 'caller_area', 'called_area'], 'string', 'max' => 32],
[['call_cost', 'extend'], 'string', 'max' => 10], [['call_cost'], 'string', 'max' => 10],
[['id'], 'unique'], [['id'], 'unique'],
]; ];
} }

Loading…
Cancel
Save