<?php

namespace App\Models;

use CodeIgniter\Model;

class SchoolInfoModel extends Model
{
    protected $table      = 'school_info';
    protected $primaryKey = 'id';
    protected $returnType = 'array';

    protected $allowedFields = [
        'school_name',
        'tagline',
        'logo_path',
        'hero_bg_path',

        'facebook_url',
        'instagram_url',
        'email',

        'visi',
        'misi',
        'tujuan',
        'updated_at',

        'kepsek_nama',
        'kepsek_sambutan',
        'kepsek_foto',
        'kepsek_judul_highlight',


        'tentang_sekolah',
        'updated_at',

        'video_title',
        'video_description',
        'video_embed',

        'stat_guru_angka','stat_guru_label','stat_guru_desc',
        'stat_siswa_angka','stat_siswa_label','stat_siswa_desc',
        'stat_ekskul_angka','stat_ekskul_label','stat_ekskul_desc',
    ];
}