feat:implement database
This commit is contained in:
@@ -9,11 +9,11 @@ class RegisterController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
|
||||
return view('auth.register');
|
||||
}
|
||||
|
||||
public function post()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+6
-5
@@ -9,10 +9,11 @@ namespace App\Models;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Foundation\Auth\User as Authenticated;
|
||||
|
||||
/**
|
||||
* Class User
|
||||
*
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $first_name
|
||||
* @property string $last_name
|
||||
@@ -26,20 +27,20 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property string $username
|
||||
* @property string $password
|
||||
* @property string $password_confirmation
|
||||
* @property string $user_provience
|
||||
* @property string $user_Province
|
||||
* @property string $user_city
|
||||
* @property int $status
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
* @property Carbon $deleted
|
||||
*
|
||||
*
|
||||
* @property File|null $file
|
||||
* @property Collection|Booking[] $bookings
|
||||
* @property Collection|Comment[] $comments
|
||||
*
|
||||
* @package App\Models
|
||||
*/
|
||||
class User extends Model
|
||||
class User extends Authenticated
|
||||
{
|
||||
protected $table = 'users';
|
||||
|
||||
@@ -68,7 +69,7 @@ class User extends Model
|
||||
'username',
|
||||
'password',
|
||||
'password_confirmation',
|
||||
'user_provience',
|
||||
'user_Province',
|
||||
'user_city',
|
||||
'status',
|
||||
'deleted'
|
||||
|
||||
Reference in New Issue
Block a user