added models for stock assets from structures
This commit is contained in:
34
app/Models/Stock/Structure.php
Normal file
34
app/Models/Stock/Structure.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Stock;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Structure extends Model
|
||||
{
|
||||
/**
|
||||
* Requires the scope:
|
||||
* esi-universe.read_structures.v1
|
||||
*/
|
||||
|
||||
//Table Name
|
||||
public $table = '';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'owner_id',
|
||||
'position_x',
|
||||
'position_y',
|
||||
'position_z',
|
||||
'solar_system_id',
|
||||
'type_id',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user