mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
29 lines
733 B
PHP
29 lines
733 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Release;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class ReleaseFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->name(),
|
|
'searchname' => $this->faker->unique()->name(),
|
|
'fromname' => $this->faker->unique()->safeEmail(),
|
|
'postdate' => $this->faker->date(),
|
|
'adddate' => $this->faker->date(),
|
|
'guid' => $this->faker->sha1(),
|
|
'categories_id' => '2080',
|
|
'nzbstatus' => 1,
|
|
'passwordstatus' => 0,
|
|
'isrenamed' => 1,
|
|
];
|
|
}
|
|
}
|