<?php

namespace Database\Factories;

use App\Models\GoogleCalendar;
use App\Models\Calendar;
use Illuminate\Database\Eloquent\Factories\Factory;

class GoogleCalendarFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = GoogleCalendar::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'calendar_id' => Calendar::factory()->create(),
            'google_id' => 'brentwood.ca_3pgnmrpebak3vo7npopp05gp1c@group.calendar.google.com', // major dates calendar
            'name' => $this->faker->firstName(),
            'color' => $this->faker->hexColor(),
        ];
    }
}
