LAR_Maintenance/app/Models/Subscription.php

21 lines
322 B
PHP

<?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',
];
}