ApplicationApiFactory.php 514 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Database\Factories;
  3. use App\Models\ApplicationApi;
  4. use Illuminate\Database\Eloquent\Factories\Factory;
  5. class ApplicationApiFactory extends Factory
  6. {
  7. /**
  8. * The name of the factory's corresponding model.
  9. *
  10. * @var string
  11. */
  12. protected $model = ApplicationApi::class;
  13. /**
  14. * Define the model's default state.
  15. *
  16. * @return array
  17. */
  18. public function definition()
  19. {
  20. return [
  21. 'memo' => $this->faker->word()
  22. ];
  23. }
  24. }