webapp/app/User.php

22 lines
330 B
PHP
Raw Normal View History

<?php
namespace App;
2018-04-09 21:38:31 +02:00
use Illuminate\Database\Eloquent\Model;
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",
];
}