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

25
app/Models/OrdersComment.php Executable file
View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @package App\Models
* @property int $id
* @property int $order_id
* @property int $user_id
* @property string $comment
* @property string $type
*/
class OrdersComment extends Model
{
protected $guarded = ['id'];
protected $table = 'orders_comments';
public function user()
{
return $this->belongsTo(Staff::class, 'user_id', 'id');
}
}