added model for registered corp mining observers

This commit is contained in:
2020-05-09 09:11:59 -05:00
parent cf00909444
commit 5607763fd4
3 changed files with 45 additions and 0 deletions
+5
View File
@@ -15,6 +15,11 @@ class CorpMoonObserver extends Model
//Timestamps
public $timestamps = true;
/**
* Attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'corporation_id',
'corporation_name',
@@ -0,0 +1,29 @@
<?php
namespace App\Models\Moon;
use Illuminate\Database\Eloquent\Model;
class CorpObserversRegistered extends Model
{
//Table Name
protected $table = 'corp_mining_observers_registered';
//Primary Key
public $primaryKey = 'id';
//Timestamps
public $timestamps = true;
/**
* Attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'character_name',
'corporation_id',
'corporation_name',
];
}