Files
izyim/app/Models/Package.php
T
omair saleh 8a28eb1790 Revert "Merge branch 'dashboardReport' into 'master'"
This reverts merge request !5
2019-03-19 09:57:38 +00:00

19 lines
327 B
PHP

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