From 637e9167b4e03578d966f8a768b937afbee772b1 Mon Sep 17 00:00:00 2001 From: enlineawork Date: Tue, 8 Sep 2026 18:22:15 -0300 Subject: [PATCH] feat(inventory): map physical instance flag on asset entity --- api-v3/src/database/entities/asset.entity.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api-v3/src/database/entities/asset.entity.ts b/api-v3/src/database/entities/asset.entity.ts index 870bf9a..79110e3 100644 --- a/api-v3/src/database/entities/asset.entity.ts +++ b/api-v3/src/database/entities/asset.entity.ts @@ -57,6 +57,9 @@ export class Asset extends TimestampedEntity { @Column({ name: 'inventory_family_id', type: 'uuid', nullable: true }) inventoryFamilyId!: string | null; + @Column({ name: 'is_inventory_instance', type: 'boolean', default: false }) + isInventoryInstance!: boolean; + @Column({ type: 'varchar', length: 120 }) code!: string;