Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getServiceObjectProperties()
 {
     return $this->hasMany(CsServiceObjectProperties::className(), ['service_id' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getServiceObjectProperty()
 {
     return $this->hasOne(CsServiceObjectProperties::className(), ['id' => 'service_object_property_id']);
 }