Ignore:
Timestamp:
10/18/21 19:54:18 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
b9c4a92
Parents:
bd9e8e3
Message:

added pagination, is_important

File:
1 edited

Legend:

Unmodified
Added
Removed
  • database/factories/DepartmentFactory.php

    rbd9e8e3 re6c1f87  
    2424    public function definition()
    2525    {
    26         $location = $this->faker->unique()->numberBetween(1, 99);
     26        $location = $this->faker->unique()->numberBetween(1, 25);
    2727        Storage::disk('local')->makeDirectory('Departments/' . $location);
    2828        return [
    29             'id' => $this->faker->unique()->randomNumber(),
    30             'name' => $this->faker->name(),
     29            'name' => $this->faker->firstName() . " department",
    3130            'code' => $location,
    32             'location' => 'Departments/' . $location,
     31            'location' => Storage::disk('local')->path('') . 'Departments/' . $location,
    3332            'user_id' => $this->faker->numberBetween('1', '2'),
    3433            'created_at' => Carbon::now()
Note: See TracChangeset for help on using the changeset viewer.