<?php

namespace App\Modules\Notification\Entities;

use CodeIgniter\Entity\Entity;

/**
 * Parent Entity
 * 
 * Represents a parent in the system.
 */
class Parent extends Entity
{
    /**
     * Attributes that can be mass assigned
     * 
     * @var array<string>
     */
    protected $allowedFields = [
        'name',
        'phone_number',
    ];

    /**
     * Attributes that should be cast to specific types
     * 
     * @var array<string, string>
     */
    protected $casts = [
        'id'          => 'integer',
        'created_at' => 'datetime',
        'updated_at' => 'datetime',
    ];
}
