<?php

namespace Database\Seeders;

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

class TermConditionSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run(): void
    {
        $terms = [
            ['name_km' => 'ចន្ទ័-ព្រហស្បត្តិ៍', 'name_en' => 'Monday - Thursday', 'status' => 1],
            ['name_km' => 'ចន្ទ័-សុក្រ', 'name_en' => 'Monday - Friday', 'status' => 1],
            ['name_km' => 'ចន្ទ័-សៅរ៍', 'name_en' => 'Monday - Saturday', 'status' => 1],
            ['name_km' => 'ចន្ទ័-អាទិត្យ', 'name_en' => 'Monday - Sunday', 'status' => 1],
            ['name_km' => 'សៅរ៍-អាទិត្យ', 'name_en' => 'Saturday - Sunday', 'status' => 1],
        ];

        foreach ($terms as $term) {
            TermCondition::create($term);
        }
    }
}
