ok

Mini Shell

Direktori : /home2/selectio/public_html/innerstore/app/Model/
Upload File :
Current File : /home2/selectio/public_html/innerstore/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');
    }
}

Zerion Mini Shell 1.0