feat: Implement product and product category management with dedicated CRUD operations, services, and repositories.

This commit is contained in:
pbao9
2026-02-06 11:05:18 +07:00
parent eef04846a8
commit 92151261b3
61 changed files with 2331 additions and 656 deletions
@@ -16,13 +16,17 @@ return new class extends Migration
Schema::create('module_ip_address',function (Blueprint $table) {
$table->id()->autoIncrement();
$table->string('vm_name',255)->nullable();
$table->foreignId('module_network_id')->nullable()->constrained('module_network')->onDelete('set null')->index();
$table->unsignedBigInteger('module_network_id')->nullable();
$table->string('ip',100)->nullable();
$table->string('gateway',100)->nullable();
$table->string('netmask',100)->nullable();
$table->string('dns',100)->nullable();
$table->tinyInteger('status')->default(0)->comment('1: assign;0: free');
$table->timestamps();
$table->foreign('module_network_id', 'fk_module_ip_network')
->references('id')
->on('module_network')
->nullOnDelete();
});
}