From 34ef7217a034599217a7fdd1e28e1ae6910e1b4b Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 11 十月 2023 20:15:21 +0800
Subject: [PATCH] 菜单获取编码规则

---
 model/masterOrder.go |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/model/masterOrder.go b/model/masterOrder.go
index f33fd6c..dd7e52b 100644
--- a/model/masterOrder.go
+++ b/model/masterOrder.go
@@ -8,16 +8,17 @@
 type (
 	// MasterOrder 閿�鍞�诲崟
 	MasterOrder struct {
-		Id         int         `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"`
-		Number     string      `json:"number" gorm:"column:number;type:varchar(255);comment:閿�鍞�诲崟鍙�"`
-		ClientId   int         `json:"client_id" gorm:"column:client_id;type:int;comment:瀹㈡埛id"`
-		Client     Client      `json:"client" gorm:"foreignKey:ClientId"`
-		MemberId   int         `json:"member_id" gorm:"column:member_id;type:int;comment:璐熻矗浜篿d"`
-		Member     User        `json:"member" gorm:"foreignKey:MemberId"`
-		StartTime  *CustomTime `json:"start_time" gorm:"column:start_time;type:datetime;comment:寮�濮嬫椂闂�"`
-		EndTime    *CustomTime `json:"end_time" gorm:"column:end_time;type:datetime;comment:缁撴潫鏃堕棿"`
-		Money      float64     `json:"money" gorm:"column:money;type:decimal(10,2);comment:鎬婚噾棰�"`
-		gorm.Model `json:"-"`
+		Id          int         `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"`
+		Number      string      `json:"number" gorm:"column:number;type:varchar(255);comment:閿�鍞�诲崟鍙�"`
+		ClientId    int         `json:"client_id" gorm:"column:client_id;type:int;comment:瀹㈡埛id"`
+		Client      Client      `json:"client" gorm:"foreignKey:ClientId"`
+		MemberId    int         `json:"member_id" gorm:"column:member_id;type:int;comment:璐熻矗浜篿d"`
+		Member      User        `json:"member" gorm:"foreignKey:MemberId"`
+		StartTime   *CustomTime `json:"start_time" gorm:"column:start_time;type:datetime;comment:寮�濮嬫椂闂�"`
+		EndTime     *CustomTime `json:"end_time" gorm:"column:end_time;type:datetime;comment:缁撴潫鏃堕棿"`
+		Money       float64     `json:"money" gorm:"column:money;type:decimal(10,2);comment:鎬婚噾棰�"`
+		CodeStandID string      `json:"codeStandID" gorm:"column:code_stand_id;type:varchar(255);comment:缂栫爜id"`
+		gorm.Model  `json:"-"`
 	}
 
 	// MasterOrderSearch 閿�鍞�诲崟鎼滅储鏉′欢

--
Gitblit v1.8.0