34 lines
573 B
PHP
34 lines
573 B
PHP
<?php
|
|
|
|
namespace App\Models\Structures;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Assets extends Model
|
|
{
|
|
// Table Name
|
|
protected $table = 'assets';
|
|
|
|
//Primary Key
|
|
public $primaryKey = 'id';
|
|
|
|
// Timestamps
|
|
public $timestamps = true;
|
|
|
|
/**
|
|
* The attributes that are mass assignable
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'is_blueprint_copy',
|
|
'is_singleton',
|
|
'item_id',
|
|
'location_flag',
|
|
'location_id',
|
|
'location_type',
|
|
'quantity',
|
|
'type_id',
|
|
];
|
|
}
|