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

Revision

Revision 248 | 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;

    class SupplierShipping extends Model
    {
        use HasFactory;

        protected $table = "shippings";

        protected $fillable = array(
            "name",
            "rank",
            "shipping_group_id",
            "supplier_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 );
        }
    }