<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\LeaveType;
use App\Models\LeavePackage;
class LeaveSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        LeaveType::create( [
            'id'=>1,
            'title'=>'Leave Type 1',
            'description'=>'Leave Type',
            'created_at'=>'2023-12-04 06:50:00',
            'updated_at'=>'2023-12-05 05:35:03'
            ] );

        LeavePackage::create( [
            'id'=>1,
            'title'=>'Leave Package',
            'leave_type_id'=>1,
            'leave_number'=>5,
            'is_paid'=>1,
            'color_code'=>'#43128c',
            'renew_on'=>'2023-12-29',
            'employee_roles' => '330',
            'created_at'=>'2023-12-04 06:50:00',
            'updated_at'=>'2023-12-05 05:35:03'
            ] );
    }
}
