<?php

use App\Classes\ValueObjects\Constants\ApprovalStatus;
use App\Classes\ValueObjects\Constants\BusinessType;
use App\Classes\ValueObjects\Constants\CompanyType;
use App\Models\Company;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class CompaniesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $company = new Company();
        $company->name = 'CIEF SDN BHD';
        $company->reference = 'CIEF';
        $company->type = CompanyType::COMPANY_BUSINESS;
        $company->business_type = BusinessType::FREIGHT_FORWARDER;
        $company->status = ApprovalStatus::APPROVED;

        $company->save();

    }
}
