47 lines
936 B
PHP
47 lines
936 B
PHP
<?php
|
|
|
|
namespace App\Models\Structures;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Citadels extends Model
|
|
{
|
|
// Table Name
|
|
protected $table = 'citadels';
|
|
|
|
//Primary Key
|
|
public $primaryKey = 'structure_id';
|
|
|
|
// Timestamps
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The attributes that are mass assignable
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'structure_id',
|
|
'structure_name',
|
|
'solar_system_id',
|
|
'solar_system_name',
|
|
'type_id',
|
|
'corporation_id',
|
|
'services',
|
|
'state',
|
|
'state_timer_start',
|
|
'state_timer_end',
|
|
'fuel_expires',
|
|
'profile_id',
|
|
'position_x',
|
|
'position_y',
|
|
'position_z',
|
|
'next_reinforce_apply',
|
|
'next_reinforce_hour',
|
|
'next_reinforce_weekday',
|
|
'reinforce_hour',
|
|
'reinforce_weekday',
|
|
'unanchors_at',
|
|
];
|
|
}
|