2019-02-20 16:26:32 +01:00
|
|
|
<?php
|
|
|
|
|
|
2025-11-12 16:35:16 +01:00
|
|
|
namespace App\Models;
|
2019-02-20 16:26:32 +01:00
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
|
|
class Log extends Model
|
|
|
|
|
{
|
2026-10-28 13:23:49 +01:00
|
|
|
|
2019-02-20 16:26:32 +01:00
|
|
|
public $timestamps = false;
|
2021-04-27 17:29:47 +02:00
|
|
|
|
2019-02-20 16:26:32 +01:00
|
|
|
/**
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
2026-10-28 13:23:49 +01:00
|
|
|
|
2019-02-20 16:26:32 +01:00
|
|
|
protected $table = 'logs';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
2026-10-28 13:23:49 +01:00
|
|
|
|
2019-02-20 16:26:32 +01:00
|
|
|
protected $primaryKey = 'id';
|
|
|
|
|
/**
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
const CREATED_AT = 'created_at';
|
|
|
|
|
|
|
|
|
|
/**
|
2025-04-03 09:30:16 +02:00
|
|
|
* @var array
|
|
|
|
|
*/
|
2026-10-28 13:23:49 +01:00
|
|
|
|
2019-02-20 16:26:32 +01:00
|
|
|
protected $fillable = [
|
|
|
|
|
'log_action',
|
|
|
|
|
'log_refsite',
|
|
|
|
|
'log_contactId',
|
|
|
|
|
'log_source',
|
|
|
|
|
'log_params',
|
|
|
|
|
'log_statut',
|
|
|
|
|
'log_message',
|
|
|
|
|
];
|
|
|
|
|
}
|