Files
2026-03-05 14:37:36 +07:00

35 lines
613 B
PHP

<?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',
];
}