43 lines
754 B
PHP
43 lines
754 B
PHP
<?php
|
|
|
|
namespace App\Models\Lookup;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class MoonLookup extends Model
|
|
{
|
|
// Table Name
|
|
protected $table = 'moon_lookup';
|
|
|
|
//Primary Key
|
|
public $primaryKey = 'id';
|
|
|
|
// Timestamps
|
|
public $timestamps = true;
|
|
|
|
/**
|
|
* The attributes that are mass assignable
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'moon_id',
|
|
'moon_name',
|
|
'position_x',
|
|
'position_y',
|
|
'position_z',
|
|
'system_id',
|
|
'owned',
|
|
'sov_owner_id',
|
|
'sov_owner_name',
|
|
'system_id',
|
|
'system_name',
|
|
'moon_type',
|
|
'worth',
|
|
'owned',
|
|
'owner_id',
|
|
'owner_name',
|
|
'rental_amount',
|
|
];
|
|
}
|