updated several jobs. removed the task for starting and stoppinig jobs. just seems to be unnecessary data

This commit is contained in:
2021-01-17 22:52:35 +09:00
parent 23b78d709f
commit 997e6a9cde
46 changed files with 663 additions and 499 deletions

View File

@@ -1,24 +0,0 @@
<?php
namespace App\Models\Eve;
use Illuminate\Database\Eloquent\Model;
class EveRegion extends Model
{
//Table Name
protected $table = 'eve_regions';
//Timestamps
public $timestamps = false;
/**
* Variables which are mass assignable
*
* @var array
*/
protected $fillable = [
'region_id',
'region_name',
];
}

View File

@@ -1,35 +0,0 @@
<?php
namespace App\Models\Market;
use Illuminate\Database\Eloquent\Model;
class MarketRegionOrder extends Model
{
//Table Name
protected $table = 'market_region_orders';
//Timestamps
public $timestamps = true;
/**
* Items which are mass assignable
*
* @var array
*/
protected $fillable = [
'region_id',
'duration',
'is_buy_order',
'issued',
'location_id',
'min_volume',
'order_id',
'price',
'range',
'system_id',
'type_id',
'volume_remain',
'volume_total',
];
}

View File

@@ -6,5 +6,24 @@ use Illuminate\Database\Eloquent\Model;
class Invoice extends Model
{
//
//Table Name
protected $table = 'alliance_mining_tax_invoices';
//Timestamps
public $timestamps = true;
/**
* Items which are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'character_name',
'invoice_id',
'invoice_amount',
'date_issued',
'date_due',
'status',
];
}

View File

@@ -6,5 +6,22 @@ use Illuminate\Database\Eloquent\Model;
class Ledger extends Model
{
//
//Table Name
protected $table = 'alliance_mining_tax_ledgers';
//Timestamps
public $timestamps = true;
/**
* Items which are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'last_updated',
'type_id',
'ore_name',
'quantity',
];
}

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models\MiningTax;
use Illuminate\Database\Eloquent\Model;
class Observer extends Model
{
//Table Name
protected $table = 'alliance_mining_tax_observers';
//Timestamps
public $timestamps = true;
/**
* Items which are mass assignable
*
* @var array
*/
protected $fillable = [
'last_updated',
'observer_id',
'observer_type',
];
}

View File

@@ -6,5 +6,24 @@ use Illuminate\Database\Eloquent\Model;
class Payment extends Model
{
//
//Table Name
protected $table = 'alliance_mining_tax_payments';
//Timestamps
public $timestamps = true;
/**
* Items which are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'character_name',
'invoice_id',
'invoice_amount',
'payment_amount',
'payment_date',
'status',
];
}

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Models\Stock;
namespace App\Models\Structure;
use Illuminate\Database\Eloquent\Model;

View File

@@ -1,39 +0,0 @@
<?php
namespace App\Models\Wormholes;
use Illuminate\Database\Eloquent\Model;
class AllianceWormhole extends Model
{
//Table Name
public $table = 'alliance_wormholes';
//Timestamps
public $timestamps = true;
//Primary Key
public $primaryKey = 'id';
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'system',
'sig_id',
'duration_left',
'dateTime',
'class',
'type',
'hole_size',
'stability',
'details',
'link',
'mass_allowed',
'individual_mass',
'regeneration',
'max_stable_time',
];
}

View File

@@ -1,31 +0,0 @@
<?php
namespace App\Models\Wormholes;
use Illuminate\Database\Eloquent\Model;
class WormholeType extends Model
{
//Table Name
public $table = 'wormhole_types';
//Timestamps
public $timestamps = false;
//Primary Key
public $primaryKey = 'id';
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'type',
'leads_to',
'mass_allowed',
'individual_mass',
'regeneration',
'max_stable_time',
];
}