<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CustomField extends Model {
    protected $fillable = ['label', 'section', 'is_active'];
    protected $casts = ['is_active' => 'boolean'];

    public static function getSections() {
        return [
            'personal'   => 'Datos Personales',
            'academic'   => 'Expediente Académico',
            'additional' => 'Información Adicional'
        ];
    }
}
