<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class PlanSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table("plans")->insert([
            [
                "name" => "Starter",
                "description" => "description",
                "stripe_id" => "starter",
                "n_athletes" => 25,
                "n_coaches" => 1,
                "n_admins" => 1,
                "n_boxes" => 1,
                "is_highlighted" => false,
                "active" => true,
                "tax_prcnt" => 21,
                "total" => 49.99,
            ],
            [
                "name" => "Scaled Plan",
                "description" => "description",
                "stripe_id" => "scaled",
                "n_athletes" => null,
                "n_coaches" => 4,
                "n_admins" => 2,
                "n_boxes" => 2,
                "is_highlighted" => true,
                "active" => true,
                "tax_prcnt" => 21,
                "total" => 75.99,
            ],
            [
                "name" => "RX Plan",
                "description" => "unlimited",
                "stripe_id" => "rx",
                "n_athletes" => null,
                "n_coaches" => null,
                "n_admins" => null,
                "n_boxes" => null,
                "is_highlighted" => false,
                "active" => true,
                "tax_prcnt" => 21,
                "total" => 129.99,
            ]
        ]);
    }
}
