cleaned up code base thoroughly

This commit is contained in:
2021-02-15 17:18:12 +09:00
parent 21aa932bd4
commit bea3cdd1a4
64 changed files with 471 additions and 3702 deletions
-28
View File
@@ -1,28 +0,0 @@
<?php
namespace App\Models\Corporation;
use Illuminate\Database\Eloquent\Model;
class AllianceCorp extends Model
{
/**
* Table Name
*/
protected $table = 'AllianceCorps';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'corporation_id',
'name',
];
}
@@ -1,14 +0,0 @@
<?php
namespace App\Models\Corporation;
use Illuminate\Database\Eloquent\Model;
class HoldingCorpJournal extends Model
{
// Table Name
protected $table = 'HoldingCorpFinancesJournal';
// Timestamps
public $timestamps = false;
}
@@ -1,41 +0,0 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class AllianceMarketJournal extends Model
{
/**
* Table Name
*/
protected $table = 'alliance_market_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'id',
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}
@@ -4,12 +4,12 @@ namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class PlayerDonationJournal extends Model
class AllianceWalletJournal extends Model
{
/**
* Table Name
*/
protected $table = 'player_donation_journal';
protected $table = 'alliance_wallet_journal';
/**
* Timestamps
-41
View File
@@ -1,41 +0,0 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class JumpBridgeJournal extends Model
{
/**
* Table Name
*/
protected $table = 'jump_bridge_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'id',
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}
-41
View File
@@ -1,41 +0,0 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class OfficeFeesJournal extends Model
{
/**
* Table Name
*/
protected $table = 'office_fees_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'id',
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}
-36
View File
@@ -1,36 +0,0 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class PISaleJournal extends Model
{
/**
* Table Name
*/
protected $table = 'pi_sale_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'division',
'client_id',
'date',
'is_buy',
'journal_ref_id',
'location_id',
'quantity',
'transaction_id',
'type_id',
'unit_price',
];
}
@@ -1,41 +0,0 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class PlanetProductionTaxJournal extends Model
{
/**
* Table Name
*/
protected $table = 'planet_production_tax_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'id',
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}
@@ -1,41 +0,0 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class ReprocessingTaxJournal extends Model
{
/**
* Table Name
*/
protected $table = 'reprocessing_tax_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'id',
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}
-41
View File
@@ -1,41 +0,0 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class SovBillJournal extends Model
{
/**
* Table Name
*/
protected $table = 'sov_bill_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'id',
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}
@@ -1,41 +0,0 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class StructureIndustryTaxJournal extends Model
{
/**
* Table Name
*/
protected $table = 'structure_industry_tax_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'id',
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}