D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
alafqpharma.net
/
app
/
Models
/
Filename :
Subscription.php
back
Copy
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Carbon; /** * Class Subscription * * @property int $id * @property string|null $email * @property Carbon $created_at * @property Carbon $updated_at * * @package App\Models */ class Subscription extends Model { use HasFactory; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'email', ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'email' => 'string', ]; }