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

Revision

Revision 248 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
224 lars 1
<?php
2
 
296 lars 3
    namespace App\Models;
224 lars 4
 
296 lars 5
    use Illuminate\Database\Eloquent\Factories\HasFactory;
6
    use Illuminate\Database\Eloquent\Model;
224 lars 7
 
296 lars 8
    class SupplierShipping extends Model
9
    {
10
        use HasFactory;
248 lars 11
 
296 lars 12
        protected $table = "shippings";
13
 
14
        protected $fillable = array(
15
            "name",
16
            "rank",
17
            "shipping_group_id",
18
            "supplier_id",
19
            "island_shipping",
20
            "price",
21
            "status",
22
            "calc_price_from",
23
            "calc_price_to",
24
            "calc_weight_from",
25
            "calc_weight-to",
26
        );
27
 
28
        public function shipping_group()
29
        {
30
            return $this->belongsTo( ShippingGroup::class );
31
        }
32
    }