File: /var/www/html/fieldsblaze-heroku/app/Models/CustomerFile.php
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CustomerFile extends Model
{
public $timestamps = false;
protected $table = "tbl_customer_file";
protected $fillable = [
'FileId',
'CustomerId',
'CustomerFile',
'FileName',
'Status',
'IsDeleted',
'CrmId',
'Created_by',
'Updated_by',
'Updated_at',
'Created_at',
'DeviceName'
];
function getCreatedByAttribute($value)
{
return ucFirst($value);
}
function getUpdatedByAttribute($value)
{
return ucFirst($value);
}
}