Files
alrahma_sunday_school_api/app/Models/CertificateRecord.php
T
2026-06-05 01:51:08 -04:00

36 lines
752 B
PHP

<?php
namespace App\Models;
class CertificateRecord extends BaseModel
{
protected $table = 'certificate_records';
public $timestamps = true;
protected $fillable = [
'certificate_number',
'verification_token',
'student_id',
'student_name',
'grade',
'cert_date',
'school_year',
'class_section_id',
'issued_by',
'issued_at',
'created_at',
'updated_at',
];
protected $casts = [
'student_id' => 'integer',
'class_section_id' => 'integer',
'issued_by' => 'integer',
'cert_date' => 'date',
'issued_at' => 'datetime',
'created_at' => 'datetime',
'updated_at' => 'datetime',
];
}