示例#1
0
 public function getContact()
 {
     return $this->hasOne(User::className(), ['id' => 'contact_id']);
 }