init title lokasi, dan penambahan api

This commit is contained in:
2026-06-21 18:17:33 +07:00
parent 0c32a1a293
commit 3ea7367255
18 changed files with 1169 additions and 33 deletions
+8 -1
View File
@@ -7,12 +7,19 @@
class VehicleItem extends Model
{
protected $connection = 'pgsql_second';
// protected $connection = 'pgsql_second';
protected $table = 'jenis_mobil';
protected $primaryKey = 'id';
public $timestamps = false;
protected $keyType = 'string';
use HasFactory;
protected $fillable = [
'id', 'nama', 'tanggal', 'short_cut', 'orang', 'validasi', 'need_access'
];
public function VehiclePrice () {
return $this->hasOne(MasterTarif::class, 'id', 'id_mobil');
}
}