rewrite of the rental moon module
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\MoonRentals;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AllianceRentalMoon extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'alliance_moon_rentals';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* Items which are mass assignable by the model
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'region',
|
||||
'system',
|
||||
'planet',
|
||||
'moon',
|
||||
'structure_id',
|
||||
'structure_name',
|
||||
'first_ore',
|
||||
'first_quantity',
|
||||
'second_ore',
|
||||
'second_quantity',
|
||||
'third_ore',
|
||||
'third_quantity',
|
||||
'fourth_ore',
|
||||
'fourth_quantity',
|
||||
'moon_worth',
|
||||
'alliance_rental_price',
|
||||
'out_of_alliance_rental_price',
|
||||
'rental_type',
|
||||
'rental_until',
|
||||
'rental_contact_id',
|
||||
'rental_contact_type',
|
||||
'paid',
|
||||
'paid_until',
|
||||
'alliance_use_until',
|
||||
];
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user