added invoice creation for the database to moon rental invoice

This commit is contained in:
2020-05-11 01:11:13 -05:00
parent a3b712d709
commit c6ad585d49
3 changed files with 59 additions and 4 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class RentalMoonInvoice extends Model
{
//Table Name
protected $table = 'alliance_moon_rental_invoices';
//Primary Key
public $primaryKey = 'id';
//Timestamps
public $timestamps = true;
/**
* Items which are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'character_name',
'corporation_id',
'corporation_name',
'rental_moons',
'invoice_amount',
'due_date',
'paid',
];
}