feat: Reimplement order and invoice management with new service and repository layers, introduce compression middleware, and update database schema.

This commit is contained in:
pbao9
2026-03-12 09:30:29 +07:00
parent 7f6264c87f
commit 1e09ccf17b
87 changed files with 2348 additions and 2612 deletions
@@ -13,23 +13,36 @@ return new class extends Migration
*/
public function up()
{
Schema::create('module_vmware',function (Blueprint $table) {
$table->id()->autoIncrement();
$table->string('name',255)->nullable();
$table->bigInteger('module_ip_address_id')->default(0)->index();
Schema::create('module_vmware', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable();
$table->foreignId('module_ip_address')
->constrained('module_ip_address');
$table->foreignId('vcenter_id')
->constrained('module_vcenter');
$table->integer('port')->nullable();
$table->integer('order_id')->nullable();
$table->integer('first_payment')->nullable();
$table->integer('next_payment')->nullable();
$table->integer('next_due_date')->nullable();
$table->integer('next_invoice')->nullable();
$table->string('user',100)->nullable();
$table->string('user')->nullable();
$table->text('password')->nullable();
$table->string('hostname',100)->nullable();
$table->string('hostname')->nullable();
$table->string('vmware_id')->nullable();
$table->bigInteger('os_id')->default(0)->index();
$table->bigInteger('customer_id')->default(0)->index();
$table->tinyInteger('status')->default(1)->comment('1: Running;0:Off;2:Suspend');
$table->tinyInteger('status')
->default(1)
->comment('1: Running;0:Off;2:Suspend');
$table->timestamps();
});
}