<?php

namespace App\Http\Resources\PTW;

use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;

class PtwMstDeclarationResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @return array<string, mixed>
     */
    public function toArray(Request $request): array
    {        
        return [
            'DECLARATION_ID'            => $this->DECLARATION_ID,
            'DECLARATION_NAME'          => $this->DECLARATION_NAME,
            'DECLARATION_SECTION'       => $this->DECLARATION_SECTION,
            'DECLARATION_GROUP'         => $this->DECLARATION_GROUP,
            'IS_MANDATORY_DURING_ADD'   => $this->IS_MANDATORY_DURING_ADD
        ];
    }

    


}
