<?php

namespace Database\Seeders;

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

class PlanSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $plan = new Plan;
        $plan->title = 'Trail Plan';
        $plan->price = 1;
        $plan->recurring_price = 25;
        $plan->description = 'Trial plan';
        $plan->type = 'recurring';
        $plan->save();

        $plan = new Plan;
        $plan->title = 'Full Plan';
        $plan->price = 200;
        $plan->description = 'Life time plan';
        $plan->type = 'lifetime';
        $plan->save();
    }
}
