File: /var/www/html/hrms-production/app/Models/EmployeeEligibilityExam.php
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class EmployeeEligibilityExam extends Model
{
use HasFactory;
protected $table = 'tbl_employee_eligibility_exam';
protected $fillable = [
'id', 'EligibilityExamId', 'EmployeeId', 'EmployeeCode', 'EligibilityExamName', 'UniversityCircularNo', 'UniversityCircularDate', 'ExamDate', 'ExaminingBody', 'IsExempted', 'OrderNo', 'OrderDate', 'AttendingAge', 'AgeOnDate', 'Remarks', 'OrderFilePath', 'Status', 'IsDeleted', 'OwnerId', 'Created_at', 'Created_by', 'Updated_at', 'Updated_by', 'OrgId'
];
function getCreatedByAttribute($value)
{
return ucFirst($value);
}
function getUpdatedByAttribute($value)
{
return ucFirst($value);
}
}