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
22 lines
492 B
PHP
22 lines
492 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class ConfigPosNetwork extends Model
|
|
{
|
|
use HasFactory;
|
|
protected $primaryKey = "id_pos";
|
|
|
|
public $incrementing = false;
|
|
protected $keyType = "int";
|
|
protected $table = "config_pos_network";
|
|
protected $fillable = ["id_pos", "hostname", "mac_address", "ip_address", "enabled"];
|
|
|
|
protected $casts = [
|
|
"enabled" => "boolean",
|
|
];
|
|
}
|