adding bonds

This commit is contained in:
2021-01-02 20:53:49 +09:00
parent 6d88c9b703
commit f327b14fca
6 changed files with 207 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class Bondee extends Model
{
protected $table = 'alliance_bondees';
protected $fillable = [
'character_id',
'character_name',
'corporation_id',
'corporation_name',
'bond_id',
];
public function allianceBond() {
return $this->belongsTo(AllianceBond::class);
}
}