|
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Subscription extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
'tier',
|
|
'valid_to',
|
|
];
|
|
|
|
protected $casts = [
|
|
'valid_to' => 'datetime',
|
|
];
|
|
}
|