Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Revision 2 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use App\Models\ShippingGroup;

class Shipping extends Model
{
    use HasFactory;

    protected $fillable = array(
        "name",
        "rank",
        "shipping_group_id",
        "island_shipping",
        "price",
        "status",
        "calc_price_from",
        "calc_price_to",
        "calc_weight_from",
        "calc_weight-to",
    );

    public function shipping_group()
    {
        return $this->belongsTo(ShippingGroup::class);
    }
}