PHP_SMART_HOME_V3/database/factories/DeviceFactory.php

29 lines
462 B
PHP
Raw Normal View History

2021-01-07 18:45:25 +00:00
<?php
namespace Database\Factories;
use App\Models\Device;
use Illuminate\Database\Eloquent\Factories\Factory;
class DeviceFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Device::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
//
];
}
}