mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 07:21:06 +03:30
add pack and update items & packegs & cycles
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Item extends Model
|
||||
{
|
||||
public $fillable = ['name', 'result', 'description', 'user_id'];
|
||||
public $fillable = ['name', 'size', 'unique_id', 'specific', 'note', 'user_id'];
|
||||
public function packages()
|
||||
{
|
||||
return $this->belongsToMany('App\Package', 'item_package');
|
||||
|
||||
Reference in New Issue
Block a user