24 lines
714 B
PHP
24 lines
714 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class CampagneFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
'camp_siteId' => $this->faker->unique()->bothify('???##'),
|
|
'camp_name' => $this->faker->name(),
|
|
'camp_type' => $this->faker->numberBetween(0, 1), //FIXME: Add Enum after murss and paniers values deletion.
|
|
'camp_limitedPrinting' => $this->faker->numberBetween(0, 1),
|
|
'camp_published' => $this->faker->numberBetween(0, 1),
|
|
];
|
|
}
|
|
}
|