Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdOsmotraktmat()
 {
     return $this->hasOne(Osmotraktmat::className(), ['osmotraktmat_id' => 'id_osmotraktmat'])->from(['idOsmotraktmat' => Osmotraktmat::tableName()]);
 }
Beispiel #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getOsmotraktmats()
 {
     return $this->hasMany(Osmotraktmat::className(), ['id_reason' => 'reason_id'])->from(['osmotraktmats' => Osmotraktmat::tableName()]);
 }