<?php

use Illuminate\Database\Seeder;
use App\Models\Image;

class ImageSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Image::truncate();
        Image::create([
            'name' => 'image_1',
            'path' => '/static/img/default/image_1.jpeg',
            'desc' => '玫瑰女王',
            'size' => '49',
            'creator_id' => 1,
            'mender_id' => 1
        ]);
        Image::create([
            'name' => 'image_2',
            'path' => '/static/img/default/image_2.png',
            'desc' => '远景',
            'size' => '53',
            'creator_id' => 1,
            'mender_id' => 1
        ]);
        Image::create([
            'name' => 'image_3',
            'path' => '/static/img/default/image_3.png',
            'desc' => '红樱',
            'size' => '33',
            'creator_id' => 1,
            'mender_id' => 1
        ]);
        Image::create([
            'name' => 'image_4',
            'path' => '/static/img/default/image_4.jpeg',
            'desc' => 'Diablo',
            'size' => '16',
            'creator_id' => 1,
            'mender_id' => 1
        ]);
    }
}
