Kumpulan perubahan yang udah numpuk di working tree: refactor Setup (Gate/Vehicle/Member), rapihin memberin & stiker, service parking baru (ParkingUtilsServices, NetworkService), model/migration lot-parking & DHCP reservation, dan fitur baru Intercom (controller/model/migration/ view). ReportTransaksiController versi lokal ini WIP (~90%, masih didebug) - versi yang bener ada di server, jadi dikeluarin dari git (ditambahin ke .gitignore) biar gak numpuk nindihin punya server pas git pull di sana. Sekalian keluarin dump mentah tabel softseting (1.8MB, nyasar ke-commit), file .bak, dan arsip ad-hoc (api.tgz, c.zip) yang emang bukan source code. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EAJc2mrpj2cSTe4oowLPzQ
26 lines
568 B
PHP
26 lines
568 B
PHP
<?php
|
|
|
|
namespace App\Models\LotParking;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class LotParkingLog extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = "lot_parking_log";
|
|
|
|
protected $fillable = ["area", "lot_number", "status", "created_at", "updated_at"];
|
|
|
|
// public function siteUser()
|
|
// {
|
|
// return $this->belongsTo(User::class,'id','id');
|
|
// }
|
|
|
|
// public function siteGroups()
|
|
// {
|
|
// return $this->belongsTo(User::class, 'site_group', 'company');
|
|
// }
|
|
}
|