Untitled

mail@pastecode.io avatar
unknown
php
2 years ago
644 B
0
Indexable
Never
<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class UnitSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \App\Models\Product\Unit::create([
            'name'        => 'pcs',
            'description' => 'Per Pieces',
        ]);

        \App\Models\Product\Unit::create([
            'name'        => 'gram',
            'description' => 'Gram',
        ]);

        \App\Models\Product\Unit::create([
            'name'        => 'Kg',
            'description' => 'Kilogram',
        ]);
    }
}