Exemple #1
0
 /**
  * 定义与 代金卷的 的关联关系
  */
 public function getVolume()
 {
     return $this->hasMany(Volume::className(), ['uid' => 'uid']);
 }