@things-factory/product-base 8.0.64 → 8.0.67

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/product-base",
3
- "version": "8.0.64",
3
+ "version": "8.0.67",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -28,5 +28,5 @@
28
28
  "@things-factory/env": "^8.0.64",
29
29
  "@things-factory/routing-base": "^8.0.64"
30
30
  },
31
- "gitHead": "e7e5f6dc93f372f8ccc8aa406246f7a37795b53b"
31
+ "gitHead": "5ee3ee99b0a9d8cbda426bea72610422ec50123b"
32
32
  }
@@ -25,6 +25,9 @@ export class NewProduct {
25
25
  @Field({ nullable: true })
26
26
  description?: string
27
27
 
28
+ @Field({ nullable: true })
29
+ origin?: string
30
+
28
31
  @Field(type => ObjectRef, { nullable: true })
29
32
  productRef?: ObjectRef
30
33
 
@@ -257,6 +260,9 @@ export class ProductPatch {
257
260
  @Field({ nullable: true })
258
261
  description?: string
259
262
 
263
+ @Field({ nullable: true })
264
+ origin?: string
265
+
260
266
  @Field(type => ObjectRef, { nullable: true })
261
267
  bizplace?: ObjectRef
262
268
 
@@ -152,6 +152,11 @@ export class Product {
152
152
  @Field({ nullable: true })
153
153
  description: string
154
154
 
155
+ // 원산지
156
+ @Column({ nullable: true })
157
+ @Field({ nullable: true })
158
+ origin?: string
159
+
155
160
  @OneToMany(type => ProductDetail, productDetails => productDetails.product, { nullable: true })
156
161
  @Field(type => [ProductDetail], { nullable: true })
157
162
  productDetails: ProductDetail[]