<?php

declare(strict_types=1);

namespace App\Models;

use CodeIgniter\Model;

class LeadCustomFieldModel extends Model
{
    protected $table            = 'lead_custom_fields';
    protected $primaryKey       = 'id';
    protected $returnType       = 'array';
    protected $useSoftDeletes   = false;
    protected $allowedFields    = [
        'field_name',
        'field_label',
        'field_type',
        'options_json',
        'sort_order',
        'required',
    ];
    protected $useTimestamps    = true;
    protected $createdField     = 'created_at';
    protected $updatedField     = 'updated_at';
    protected $deletedField     = 'deleted_at';
    protected $validationRules  = [];
    protected $validationMessages = [];
    protected $skipValidation     = false;
}
