webapp/app/User.php

22 lines
330 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'users';
protected $fillable = ["email"];
public static $rules = [
"email" => "required",
];
}