示例#1
0
 /** 
  * @return \yii\db\ActiveQuery 
  */
 public function getDrugs()
 {
     return $this->hasMany(Drug::className(), ['unit_id' => 'unit_id']);
 }