add projet

This commit is contained in:
root
2026-03-05 12:29:37 -05:00
parent 8d1eef8ba8
commit 23b7db1107
9109 changed files with 1106501 additions and 73 deletions
+38
View File
@@ -0,0 +1,38 @@
<?php
namespace App\Models;
use App\Models\BaseModel;
class InvoiceStudentList extends BaseModel
{
// Specify the table name
protected $table = 'invoice_students_list'; // Primary key for the table
protected $primaryKey = 'id';
// Specify which fields are allowed for mass assignment
protected $fillable = [
'invoice_id',
'student_id',
'student_firstname',
'student_lastname',
'school_id',
'enrolled',
'school_year',
'created_at',
'updated_at',
'semester',
];
// Enable auto-incrementing primary key
protected $useAutoIncrement = true;
// Specify return type as an array
// Automatically set `created_at` and `updated_at` fields
public $timestamps = true;
// Specify the names of the timestamp fields
const CREATED_AT = 'created_at';
const UPDATED_AT = 'updated_at';
}