<?php

namespace App\Models;

use CodeIgniter\Model;

class ReportCardAcknowledgementModel extends Model
{
    protected $table = 'report_card_acknowledgements';
    protected $primaryKey = 'id';
    protected $allowedFields = [
        'parent_id',
        'student_id',
        'school_year',
        'semester',
        'viewed_at',
        'signed_at',
        'signed_name',
        'signer_ip',
        'created_at',
        'updated_at',
    ];
    protected $useTimestamps = true;
    protected $createdField = 'created_at';
    protected $updatedField = 'updated_at';
    protected $returnType = 'array';
}
