/** * @return \yii\db\ActiveQuery */ public function getContracts() { return $this->hasMany(Contract::className(), ['ID_TypeOfContract' => 'ID']); }
/** * @return \yii\db\ActiveQuery */ public function getIDContract() { return $this->hasOne(Contract::className(), ['ID' => 'ID_Contract']); }
/** * @return \yii\db\ActiveQuery */ public function getContracts() { return $this->hasMany(Contract::className(), ['ID_CurrencyOfThePayments' => 'ID']); }
/** * @return \yii\db\ActiveQuery */ public function getContracts() { return $this->hasMany(Contract::className(), ['kind_of_goods_kind_of_goods_id' => 'kind_of_goods_id']); }
/** * @return \yii\db\ActiveQuery */ public function getContracts() { return $this->hasMany(Contract::className(), ['station_station_id' => 'station_id']); }
/** * @return \yii\db\ActiveQuery */ public function getContracts() { return $this->hasMany(Contract::className(), ['ID_PaymentPeriod' => 'ID']); }