示例#1
0
 public function getImage()
 {
     return $this->hasOne(ProductImage::className(), ['product_id' => 'id']);
 }