2020-04-12 00:26:44 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2021-06-13 11:26:38 +02:00
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
2021-07-04 12:09:30 +02:00
|
|
|
use App\Member\Member;
|
|
|
|
use App\Payment\Subscription;
|
2020-04-12 00:26:44 +02:00
|
|
|
|
|
|
|
class Fee extends Model
|
|
|
|
{
|
2021-06-13 11:26:38 +02:00
|
|
|
use HasFactory;
|
|
|
|
|
2021-04-10 00:29:48 +02:00
|
|
|
public $fillable = ['name', 'nami_id'];
|
2020-04-12 00:26:44 +02:00
|
|
|
public $timestamps = false;
|
2021-07-04 12:09:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
public function subscriptions() {
|
|
|
|
return $this->hasMany(Subscription::class);
|
|
|
|
}
|
2020-04-12 00:26:44 +02:00
|
|
|
}
|