17 lines
341 B
PHP
17 lines
341 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||
|
|
|
||
|
|
class PlanEntitlement extends Model
|
||
|
|
{
|
||
|
|
protected $fillable = ['plan_id', 'entitlement_key', 'entitlement_value'];
|
||
|
|
|
||
|
|
public function plan(): BelongsTo
|
||
|
|
{
|
||
|
|
return $this->belongsTo(Plan::class);
|
||
|
|
}
|
||
|
|
}
|