databases and models
This commit is contained in:
46
app/Models/Structures/Citadels.php
Normal file
46
app/Models/Structures/Citadels.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user