Files
alrahma_sunday_school/app/Models/ManualPaymentModel.php
T
root 716cc8b8d3
Tests / PHPUnit (push) Failing after 1m20s
fix school year for all tables
2026-07-18 14:45:38 -04:00

29 lines
579 B
PHP

<?php
namespace App\Models;
use CodeIgniter\Model;
use App\Models\Concerns\SchoolYearAutoFillTrait;
class ManualPaymentModel extends Model
{
use SchoolYearAutoFillTrait;
protected $table = 'manual_payments';
protected $allowedFields = [
'invoice_number',
'amount',
'payment_method',
'reference',
'proof_path',
'semester',
'school_year',
'created_at'];
protected $validationRules = [
'school_year' => 'required|string|max_length[9]',
];
protected $useTimestamps = false;
}