'vps', 'code' => 'cpu', 'name' => 'CPU', 'price' => 20000, 'min' => 1, 'max' => 32, 'step' => 1, 'prefix' => 'vCore', 'input_type' => 'number', 'status' => true, 'sort_order' => 0, ], [ 'type' => 'vps', 'code' => 'ram', 'name' => 'RAM', 'price' => 100000, 'min' => 1, 'max' => 64, 'step' => 1, 'prefix' => 'GB', 'input_type' => 'number', 'status' => true, 'sort_order' => 1, ], [ 'type' => 'vps', 'code' => 'disk', 'name' => 'SSD', 'price' => 4000, 'min' => 25, 'max' => 2000, 'step' => 25, 'prefix' => 'GB', 'input_type' => 'number', 'status' => true, 'sort_order' => 2, ], [ 'type' => 'vps', 'code' => 'gpu', 'name' => 'GPU', 'price' => 500000, 'min' => 0, 'max' => 4, 'step' => 1, 'prefix' => 'GB', 'input_type' => 'select', 'status' => true, 'sort_order' => 3, ], [ 'type' => 'vps', 'code' => 'bandwidth', 'name' => 'Bandwidth', 'price' => 50000, 'min' => 100, 'max' => 10000, 'step' => 100, 'prefix' => 'Mbps', 'input_type' => 'slider', 'status' => true, 'sort_order' => 4, ], // Hosting Addons [ 'type' => 'hosting', 'code' => 'hosting_cpu', 'name' => 'CPU', 'price' => 15000, 'min' => 1, 'max' => 8, 'step' => 1, 'prefix' => 'Core', 'input_type' => 'number', 'status' => true, 'sort_order' => 10, ], [ 'type' => 'hosting', 'code' => 'hosting_ram', 'name' => 'RAM', 'price' => 25000, 'min' => 512, 'max' => 16384, 'step' => 512, 'prefix' => 'MB', 'input_type' => 'number', 'status' => true, 'sort_order' => 11, ], [ 'type' => 'hosting', 'code' => 'hosting_disk', 'name' => 'Disk', 'price' => 2000, 'min' => 5, 'max' => 500, 'step' => 5, 'prefix' => 'GB', 'input_type' => 'number', 'status' => true, 'sort_order' => 12, ], [ 'type' => 'hosting', 'code' => 'hosting_bandwidth', 'name' => 'Bandwidth', 'price' => 10000, 'min' => 10, 'max' => 1000, 'step' => 10, 'prefix' => 'GB', 'input_type' => 'slider', 'status' => true, 'sort_order' => 13, ], [ 'type' => 'hosting', 'code' => 'hosting_ip', 'name' => 'IP Address', 'price' => 30000, 'min' => 0, 'max' => 5, 'step' => 1, 'prefix' => 'IP', 'input_type' => 'number', 'status' => true, 'sort_order' => 14, ], ]; Addon::upsert($addons, ['code']); } }