updating how moon rentals are handled in programming

This commit is contained in:
2019-05-05 19:59:14 -05:00
parent 7ff21997e5
commit 5cef5d11f0
7 changed files with 147 additions and 76 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace App\Models\MoonRent;
use Illuminate\Database\Eloquent\Model;
class MoonRent extends Model
{
// Table Name
protected $table = 'moon_rents';
//Primary Key
public $primaryKey = 'id';
//Timestamps
public $timestamps = false;
//Fillable Items
protected $fillable = [
'System',
'Planet',
'Moon',
'RentalCorp',
'RentalEnd',
'Contact',
'Type',
'Price',
'Paid',
'Paid_Until',
];
}