예제 #1
0
파일: Item.php 프로젝트: robby-xp/IMS
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSalesDetails()
 {
     return $this->hasMany(SalesDetail::className(), ['item_id' => 'id']);
 }