コード例 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPay()
 {
     return $this->hasOne(Pay::className(), ['id' => 'pay_id']);
 }