2016-05-19 15:01:28 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class Contact extends Model
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The database table used by the model.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $table = 'contacts';
|
|
|
|
|
|
|
|
/**
|
2017-07-17 17:07:08 +01:00
|
|
|
* We shall guard against mass-migration.
|
2016-05-19 15:01:28 +01:00
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
2017-07-17 17:07:08 +01:00
|
|
|
protected $fillable = ['nick', 'name', 'homepage', 'twitter', 'facebook'];
|
2016-05-19 15:01:28 +01:00
|
|
|
}
|