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

---
 models/product_category.go |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/models/product_category.go b/models/product_category.go
index b1985d3..5f6ebbf 100644
--- a/models/product_category.go
+++ b/models/product_category.go
@@ -13,11 +13,11 @@
 		BaseModelInt
 		Name                 string                        `json:"name" gorm:"index;type:varchar(255);not null;comment:鍒嗙被鍚嶇О"` //浣嶇疆鍚嶇О
 		ParentId             int                           `json:"parentId" gorm:"type:int;comment:涓婄骇鍒嗙被id"`                   //涓婄骇id
-		RouteId              int                           `json:"routeId" gorm:"type:int;comment:璺嚎id"`
-		RouteName            string                        `json:"routeName" gorm:"type:varchar(512);comment:璺嚎鍚嶇О"`         //鍏徃
-		ForceRemovalStrategy constvar.ForceRemovalStrategy `json:"forceRemovalStrategy" gorm:"type:tinyint;comment:寮哄埗涓嬫灦绛栫暐"` //寮哄埗涓嬫灦绛栫暐
-		CostingMethod        constvar.CostingMethod        `json:"costingMethod" gorm:"type:tinyint;comment:鎴愭湰鏂规硶"`          //鎴愭湰鏂规硶
-		InventoryValuation   constvar.InventoryValuation   `json:"inventoryValuation" gorm:"type:tinyint;comment:搴撳瓨璁′环"`     //搴撳瓨璁′环
+		RouteId              int                           `json:"routeId" gorm:"type:int;comment:璺嚎id"`                      //璺嚎id
+		RouteName            string                        `json:"routeName" gorm:"type:varchar(512);comment:璺嚎鍚嶇О"`           //鍏徃
+		ForceRemovalStrategy constvar.ForceRemovalStrategy `json:"forceRemovalStrategy" gorm:"type:tinyint;comment:寮哄埗涓嬫灦绛栫暐"`   //寮哄埗涓嬫灦绛栫暐
+		CostingMethod        constvar.CostingMethod        `json:"costingMethod" gorm:"type:tinyint;comment:鎴愭湰鏂规硶"`            //鎴愭湰鏂规硶
+		InventoryValuation   constvar.InventoryValuation   `json:"inventoryValuation" gorm:"type:tinyint;comment:搴撳瓨璁′环"`       //搴撳瓨璁′环
 	}
 
 	ProductCategorySearch struct {

--
Gitblit v1.8.0