adrema/app/Payment/Subscription.php

19 lines
331 B
PHP
Raw Normal View History

2021-07-04 01:44:41 +02:00
<?php
namespace App\Payment;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Fee;
class Subscription extends Model
{
use HasFactory;
public $fillable = ['name', 'amount', 'fee_id'];
public function fee() {
return $this->belongsTo(Fee::class);
}
}