first commit

This commit is contained in:
2024-04-16 15:43:24 +05:45
commit b49e06fa93
4387 changed files with 543889 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?php
namespace Database\Seeders;
use App\Modules\Models\Branch\Branch;
use App\Modules\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
$user=User::create([
'name'=>'SuperAdmin',
'email'=>'admin@customer.com',
'password'=>Hash::make('admin@customer'),
'status' => 'active',
]);
$user->assignRole('SuperAdmin');
$prajwal = User::Create([
'name'=>'Prajwal',
'email'=>'prajwalbro@hotmail.com',
'password'=>Hash::make('p@ssw0rd'),
'status' => 'active',
]);
$prajwal->assignRole('SuperAdmin');
}
}