Files
Omair Saleh 919e0252f7 large commit
2019-06-03 10:29:08 +08:00

19 lines
345 B
PHP

<?php
namespace App\Models;
class Package extends AbstractModel
{
protected $table = 'packages';
protected $fillable = [
'list_id', 'description', 'type', 'width', 'length', 'height', 'weight', 'quantity'
];
public function packingList()
{
return $this->belongsTo(PackingList::class, 'list_id');
}
}