feat: Reader beginning

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-02-16 16:15:42 +01:00
parent e90c0a140e
commit 55945adc53
37 changed files with 1057 additions and 47 deletions

View File

@@ -48,8 +48,13 @@ final class ChapterFactory extends ModelFactory
{
return [
'manga' => MangaFactory::new(),
'number' => self::faker()->randomNumber(2),
'pages' => [],
'number' => self::faker()->randomFloat(2, 0, 999),
'volume' => self::faker()->optional()->numberBetween(1, 100),
'title' => self::faker()->optional()->sentence(3),
'localPath' => self::faker()->optional()->filePath(),
'externalId' => self::faker()->optional()->uuid(),
'cbzPath' => self::faker()->optional()->filePath(),
'visible' => true,
];
}