Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1350 | Revision 1430 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1350 Revision 1429
Zeile 41... Zeile 41...
41
 
41
 
42
        public function shipAddr(): BelongsTo
42
        public function shipAddr(): BelongsTo
43
        {
43
        {
44
            return $this->belongsTo( OrderAddress::class, 'ship_addr_id' );
44
            return $this->belongsTo( OrderAddress::class, 'ship_addr_id' );
-
 
45
        }
-
 
46
 
-
 
47
        public function item():HasMany
-
 
48
        {
-
 
49
            return $this->hasMany( Item::class, 'order_item_id' );
45
        }
50
        }