Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getContracts()
 {
     return $this->hasMany(Contract::className(), ['ID_TypeOfContract' => 'ID']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIDContract()
 {
     return $this->hasOne(Contract::className(), ['ID' => 'ID_Contract']);
 }
Example #3
0
 /**
  * @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']);
 }
Example #5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getContracts()
 {
     return $this->hasMany(Contract::className(), ['station_station_id' => 'station_id']);
 }
Example #6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getContracts()
 {
     return $this->hasMany(Contract::className(), ['ID_PaymentPeriod' => 'ID']);
 }