ok
Direktori : /home2/selectio/www/3-idiots/app/Model/ |
Current File : //home2/selectio/www/3-idiots/app/Model/FlashDealProduct.php |
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class FlashDealProduct extends Model { protected $casts = [ 'product_id' => 'integer', 'discount' => 'float', 'flash_deal_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; public function product() { return $this->belongsTo(Product::class); } }