ok
Direktori : /home2/selectio/public_html/3-idiots/app/Model/ |
Current File : /home2/selectio/public_html/3-idiots/app/Model/ShippingMethod.php |
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class ShippingMethod extends Model { protected $casts = [ 'creator_id' => 'integer', 'cost' => 'float', 'status' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; public function seller() { return $this->belongsTo(Seller::class,'creator_id'); } }