to squeeze

This commit is contained in:
Clément
2025-06-03 14:10:35 +02:00
parent ea0884d39f
commit 2c4aeb4704
83 changed files with 1566 additions and 69 deletions

41
laravel/app/Models/Session.php Executable file
View File

@@ -0,0 +1,41 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class Session
*
* @property string $id
* @property int|null $user_id
* @property string|null $ip_address
* @property string|null $user_agent
* @property string $payload
* @property int $last_activity
*
* @package App\Models
*/
class Session extends Model
{
protected $table = 'sessions';
public $incrementing = false;
public $timestamps = false;
protected $casts = [
'user_id' => 'int',
'last_activity' => 'int'
];
protected $fillable = [
'user_id',
'ip_address',
'user_agent',
'payload',
'last_activity'
];
}