MicroFrameWork/app/models/User.php
2024-07-10 14:39:37 +03:00

10 lines
242 B
PHP

<?php
namespace app\models;
use Illuminate\Database\Eloquent\Model;
class User extends Model {
protected $table = 'user';
protected $fillable = ['username', 'email', 'password_hash', 'role'];
protected $dates = ['deleted at'];
}