Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProductCategory()
 {
     return $this->hasOne(Productcategories::className(), ['ProductCategoryId' => 'ProductCategoryId']);
 }