From 28240d14942e63d05c06531f04f7f7b5530f04c3 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 20 九月 2023 10:46:32 +0800
Subject: [PATCH] 产品与产品类型注释添加

---
 docs/docs.go |   40 +++++++++++++++++++++++++++++++++++++---
 1 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index c19f52e..9647266 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1389,9 +1389,11 @@
             "type": "object",
             "properties": {
                 "HSCode": {
+                    "description": "HS缂栫爜",
                     "type": "string"
                 },
                 "amount": {
+                    "description": "鏁伴噺",
                     "type": "number"
                 },
                 "barcode": {
@@ -1399,6 +1401,7 @@
                     "type": "string"
                 },
                 "buyExplain": {
+                    "description": "閲囪喘璇存槑",
                     "type": "string"
                 },
                 "canBePurchased": {
@@ -1410,19 +1413,27 @@
                     "type": "integer"
                 },
                 "companyId": {
+                    "description": "鍏徃id",
                     "type": "integer"
                 },
                 "companyName": {
+                    "description": "鍏徃鍚嶇О",
                     "type": "string"
                 },
                 "controlStrategy": {
-                    "$ref": "#/definitions/constvar.InvoicingStrategy"
+                    "description": "鎺у埗绛栫暐",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.InvoicingStrategy"
+                        }
+                    ]
                 },
                 "cost": {
                     "description": "鎴愭湰",
                     "type": "number"
                 },
                 "currencyName": {
+                    "description": "甯佺鍚嶇О",
                     "type": "string"
                 },
                 "customerTaxes": {
@@ -1430,12 +1441,14 @@
                     "type": "number"
                 },
                 "deliveryAdvanceTime": {
+                    "description": "浜よ揣鎻愬墠鏃堕棿(澶�)",
                     "type": "integer"
                 },
                 "id": {
                     "type": "string"
                 },
                 "inStorageExplain": {
+                    "description": "鍏ュ簱璇存槑",
                     "type": "string"
                 },
                 "internalNotes": {
@@ -1447,6 +1460,7 @@
                     "type": "string"
                 },
                 "internalTransferExplain": {
+                    "description": "鍐呴儴璋冩嫧璇存槑",
                     "type": "string"
                 },
                 "invoicingStrategy": {
@@ -1462,6 +1476,7 @@
                     "type": "boolean"
                 },
                 "maxInventory": {
+                    "description": "鏈�澶у簱瀛�",
                     "type": "number"
                 },
                 "minInventory": {
@@ -1481,18 +1496,27 @@
                     ]
                 },
                 "name": {
+                    "description": "鐗╂枡鍚嶇О",
                     "type": "string"
                 },
                 "orderCreation": {
-                    "$ref": "#/definitions/constvar.OrderCreation"
+                    "description": "璁㈠崟鍒涘缓",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.OrderCreation"
+                        }
+                    ]
                 },
                 "originCountryId": {
+                    "description": "鍘熶骇鍦癷d",
                     "type": "integer"
                 },
                 "originCountryName": {
+                    "description": "鍘熶骇鍦板悕绉�",
                     "type": "string"
                 },
                 "outStorageExplain": {
+                    "description": "鍑哄簱璇存槑",
                     "type": "string"
                 },
                 "principal": {
@@ -1500,26 +1524,35 @@
                     "type": "string"
                 },
                 "productTagId": {
-                    "description": "浜у搧鏍囩",
+                    "description": "浜у搧鏍囩id",
                     "type": "integer"
                 },
                 "productTagName": {
+                    "description": "浜у搧鏍囩鍚嶇О",
                     "type": "string"
                 },
                 "purchasePrice": {
+                    "description": "閲囪喘浠锋牸",
                     "type": "number"
                 },
                 "salePrice": {
+                    "description": "閿�鍞崟浠�",
                     "type": "number"
                 },
                 "selectProduct": {
+                    "description": "鍙�変骇鍝乮d",
                     "type": "integer"
                 },
                 "sellExplain": {
+                    "description": "閿�鍞鏄�",
                     "type": "string"
                 },
                 "supplier": {
                     "description": "FSource           string                  ` + "`" + `gorm:\"type:varchar(191);comment:鐢熶骇杞﹂棿\" json:\"-\"` + "`" + `\nStatus            constvar.MaterialStatus ` + "`" + `gorm:\"type:int(11);comment:鐘舵�乗" json:\"status\"` + "`" + `",
+                    "type": "string"
+                },
+                "templateID": {
+                    "description": "Note              string                  ` + "`" + `gorm:\"type:varchar(1024);comment:澶囨敞\" json:\"note\"` + "`" + `",
                     "type": "string"
                 },
                 "unit": {
@@ -1689,6 +1722,7 @@
                     "type": "integer"
                 },
                 "routeId": {
+                    "description": "璺嚎id",
                     "type": "integer"
                 },
                 "routeName": {

--
Gitblit v1.8.0