예제 #1
0
 public function getVoips()
 {
     return $this->hasMany(VoipNumbers::className(), ['workplace_id' => 'id']);
 }
예제 #2
0
파일: Devices.php 프로젝트: Griff19/it_base
 public function getVoip()
 {
     return $this->hasMany(VoipNumbers::className(), ['device_id' => 'id']);
 }