ok

Mini Shell

Direktori : /proc/thread-self/root/home2/selectio/www/myclassicfit.com/app/Model/
Upload File :
Current File : //proc/thread-self/root/home2/selectio/www/myclassicfit.com/app/Model/CategoryShippingCost.php

<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class CategoryShippingCost extends Model
{
    use HasFactory;

    protected $casts = [
        'seller_id' => 'integer',
        'category_id' => 'integer',
        'cost'=>'float',
        'multiply_qty'=>'integer'
    ];

    public function category()
    {
        return $this->belongsTo(Category::class, 'category_id');
    }
}

Zerion Mini Shell 1.0