*/ protected $allowedFields = [ 'nisn', 'name', 'gender', 'class_id', 'is_active', 'face_external_id', 'face_hash', 'dapodik_id', 'parent_link_code', ]; /** * Attributes that should be cast to specific types * * @var array */ protected $casts = [ 'id' => 'integer', 'class_id' => '?integer', 'is_active' => 'integer', 'face_hash' => '?string', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; }