Home screen improvements, testing for role, work on user/account models
This commit is contained in:
27
database/factories/RtmFactory.php
Normal file
27
database/factories/RtmFactory.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Rtm>
|
||||
*/
|
||||
class RtmFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
return [
|
||||
'id' => $this->faker->numberBetween(2048,65535),
|
||||
//* 'site_id', // Needs to be passed in
|
||||
//* 'account_id', // Needs to be passed in
|
||||
// 'name',
|
||||
//* 'parent_id', // Needs to be passed in
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user