Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTrMatOsmotrs()
 {
     return $this->hasMany(TrMatOsmotr::className(), ['id_tr_mat' => 'tr_mat_id'])->from(['trMatOsmotrs' => TrMatOsmotr::tableName()]);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdTrMatOsmotr()
 {
     return $this->hasOne(TrMatOsmotr::className(), ['tr_mat_osmotr_id' => 'id_tr_mat_osmotr'])->from(['idTrMatOsmotr' => TrMatOsmotr::tableName()]);
 }