29 lines
567 B
PHP
29 lines
567 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Support\Carbon;
|
|
|
|
class Contact extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
/**
|
|
* The database table used by the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'contacts';
|
|
|
|
/**
|
|
* We shall guard against mass-migration.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = ['nick', 'name', 'homepage', 'twitter', 'facebook'];
|
|
}
|