$this->faker->unique()->catchPhrase(), 'user_id' => User::factory()->superuser(), 'months' => 36, ]; } public function computer() { return $this->state(function () { return [ 'name' => 'Computer Depreciation', 'months' => 36, ]; }); } public function display() { return $this->state(function () { return [ 'name' => 'Display Depreciation', 'months' => 12, ]; }); } public function mobilePhones() { return $this->state(function () { return [ 'name' => 'Mobile Phone Depreciation', 'months' => 24, ]; }); } }