restore composer.json, add mysqli extension

This commit is contained in:
2026-04-15 17:02:52 +05:00
commit 77cf56a348
4317 changed files with 1397107 additions and 0 deletions

39
app/Models/Firebase.php Executable file
View File

@@ -0,0 +1,39 @@
<?php
namespace App\Models;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
/**
* @package App\Models
* @property int $id
* @property int|null $user_id
* @property string $token
* @property string $device_id
* @property string $device_name
* @property string $device_type
*
* @property-read User $user
*/
class Firebase extends Model
{
public $timestamps = false;
protected $fillable = [
'user_id', 'token', 'device_id', 'device_name', 'device_type'
];
protected $casts = [
'user_id' => 'integer',
'token' => 'string'
];
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function user()
{
return $this->belongsTo(User::class);
}
}