2018-04-26 23:02:06 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
2018-04-09 21:38:31 +02:00
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
2018-04-26 23:02:06 +02:00
|
|
|
class User extends Model
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The table associated with the model.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $table = 'users';
|
2018-04-09 21:38:31 +02:00
|
|
|
|
|
|
|
protected $fillable = ["email"];
|
|
|
|
|
|
|
|
public static $rules = [
|
|
|
|
"email" => "required",
|
|
|
|
];
|
|
|
|
}
|