<?php
namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * RegistrationPaymentEntity
 *
 * @property int $id
 * @property int $student_id
 * @property int $letter_type
 * @property double $registration_fee
 * @property double $tuition_fees
 * @property double $total_fees
 * @property double $total_fees_paid
 * @property double $outstanding_fees
 * @property string|null $bank_details
 * @property string|null $iban
 * @property string|null $account_no
 * @property int $status
 * @property int|null $created_by_id
 * @property int|null $updated_by_id
 * @property \Cake\I18n\Time|null $created_at
 * @property \Cake\I18n\Time|null $updated_at
 */

class RegistrationPayment extends Entity
{
    /**
     * Fields that can be mass assigned using newEntity() or patchEntity().
     *
     * Note that when '*' is set to true, this allows all unspecified fields to
     * be mass assigned. For security purposes, it is advised to set '*' to false
     * (or remove it), and explicitly make individual fields accessible as needed.
     *
     * @var array
     */
    protected $_accessible = [
        'student_id' => true,
        'letter_type' => true,
        'registration_fee' => true,
        'tuition_fees' => true,
        'total_fees_paid' => true,
        'total_fees' => true,
        'outstanding_fees' => true,
        'bank_details' => true,
        'iban' => true,
        'account_no' => true,
        'status' => true,
        'created_by_id' => true,
        'updated_by_id' => true,
        'created_at' => true,
        'updated_at' => true,
    ];
}
