Files
w4rpservices/app/Models/Stock/Asset.php
drkthunder02 676117c053 Modified folders for commands.
Added job for retrieving assets from esi.
Modified moon rental data to flow better with views.
2019-06-04 03:47:00 -05:00

40 lines
678 B
PHP

<?php
namespace App\Models\Stock;
use Illuminate\Database\Eloquent\Model;
class Asset extends Model
{
/**
* Required scope:
* esi-assets.read_corporation_assets.v1
*/
//Table Name
public $table = 'alliance_assets';
//Timestamps
public $timestamps = true;
//Primary Key
public $primaryKey = 'id';
/**
* 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',
'updated_at',
];
}