예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getWorkOrderOutputPicking()
 {
     return $this->hasOne(SbmWorkOrderOutputPicking::className(), ['id' => 'work_order_output_picking_id']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSbmWorkOrderOutputPickings()
 {
     return $this->hasMany(SbmWorkOrderOutputPicking::className(), ['work_order_output_id' => 'id']);
 }