27 lines
536 B
PHP
27 lines
536 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
|
|
||
|
|
class Subscriber extends Model
|
||
|
|
{
|
||
|
|
use HasFactory;
|
||
|
|
|
||
|
|
/** The name of the database table storing this Model's records. */
|
||
|
|
protected $table = 'subscribers';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Indicates if the model should be timestamped.
|
||
|
|
*
|
||
|
|
* @var bool
|
||
|
|
*/
|
||
|
|
public $timestamps = false;
|
||
|
|
|
||
|
|
/** The attributes on the Model that can be mass-assigned */
|
||
|
|
protected $fillable = [
|
||
|
|
'email',
|
||
|
|
];
|
||
|
|
}
|