<?php

namespace App\Http\Resources\Reports\Stickers;

use Illuminate\Http\Resources\Json\JsonResource;

class StickerClassSectionResource extends JsonResource
{
    public function toArray($request): array
    {
        return [
            'class_section_id' => (int) ($this['class_section_id'] ?? 0),
            'class_section_name' => (string) ($this['class_section_name'] ?? ''),
        ];
    }
}
