@things-factory/warehouse-base 7.1.38 → 7.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/warehouse-base",
3
- "version": "7.1.38",
3
+ "version": "7.1.39",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -31,5 +31,5 @@
31
31
  "@things-factory/product-base": "^7.1.33",
32
32
  "@things-factory/setting-base": "^7.1.33"
33
33
  },
34
- "gitHead": "235f5fc6b16418cfe2ab86aa346394bde1a7969b"
34
+ "gitHead": "864377d3916437b4c7aeae9dd603ff575a86bbe3"
35
35
  }
@@ -164,6 +164,9 @@ export class InventoryPatch {
164
164
  @Field({ nullable: true })
165
165
  isMachineFiltering?: boolean
166
166
 
167
+ @Field({ nullable: true })
168
+ origin?: string
169
+
167
170
  @Field(type => ObjectRef, { nullable: true })
168
171
  originInventory?: ObjectRef
169
172
  }
@@ -260,6 +263,9 @@ export class NewInventory {
260
263
  @Field({ nullable: true })
261
264
  isMachineFiltering?: boolean
262
265
 
266
+ @Field({ nullable: true })
267
+ origin?: string
268
+
263
269
  @Field(type => ObjectRef, { nullable: true })
264
270
  originInventory?: ObjectRef
265
271
  }
@@ -343,6 +343,10 @@ export class Inventory {
343
343
  @Field({ nullable: true })
344
344
  isMachineFiltering?: boolean
345
345
 
346
+ @Column({ nullable: true, comment: '원산지' })
347
+ @Field({ nullable: true })
348
+ origin?: string
349
+
346
350
  @ManyToOne(type => Inventory, { nullable: true })
347
351
  @Field(type => Inventory, { nullable: true })
348
352
  originInventory?: Inventory
@@ -398,6 +402,7 @@ export class Inventory {
398
402
  this.updaterId = obj.inventory_updater_id
399
403
  this.lot = obj.inventory_lot
400
404
  this.isMachineFiltering = obj.is_machine_filtering
405
+ this.origin = obj.origin
401
406
  }
402
407
  }
403
408
  }