*/ class OspfPortFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = OspfPort::class; /** * Define the model's default state. * * @return array */ public function definition() { return [ 'id' => $this->faker->randomDigit(), 'ospf_port_id' => $this->faker->randomDigit(), 'ospfIfIpAddress' => $this->faker->ipv4(), 'ospfAddressLessIf' => $this->faker->randomDigit(), 'ospfIfAreaId' => '0.0.0.0', ]; } }