Refactor script

This commit is contained in:
furen81
2026-02-07 04:52:11 +07:00
parent 6e681c4ad3
commit c1ef2df512
20 changed files with 1608 additions and 118 deletions

21
app/Models/Merchant.php Normal file
View File

@ -0,0 +1,21 @@
<?php
namespace App\Models;
use MongoDB\Laravel\Eloquent\Model;
class Merchant extends Model
{
protected $connection = 'mongodb';
protected $collection = 'merchants';
protected $fillable = [
'id',
'name',
'category',
'latitude',
'longitude',
'city',
'address'
];
}