From 32f4f2b0d507c99d9b4fb7d555b0c2523a92c503 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期一, 15 四月 2024 15:08:12 +0800
Subject: [PATCH] 添加字段

---
 models/operation.go |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/models/operation.go b/models/operation.go
index 15e2fd9..ccf54fd 100644
--- a/models/operation.go
+++ b/models/operation.go
@@ -50,9 +50,12 @@
 		ToLocation         Location `json:"toLocation"      gorm:"foreignKey:ToLocationID;references:Id"` //鐩爣浣嶇疆
 		SalesDetailsNumber string   `gorm:"type:varchar(191);comment:閿�鍞槑缁嗙紪鐮�" json:"salesDetailsNumber"`
 
-		Manager    string `json:"manager" gorm:"type:varchar(255);comment:涓荤"`
-		Accountant string `json:"accountant" gorm:"type:varchar(255);comment:浼氳"`
-		Custodian  string `json:"custodian" gorm:"type:varchar(255);comment:淇濈鍛�"`
+		ManagerId    string `json:"managerId" gorm:"type:varchar(255);comment:涓荤id"`
+		Manager      string `json:"manager" gorm:"type:varchar(255);comment:涓荤鍚嶇О"`
+		AccountantId string `json:"accountantId" gorm:"type:varchar(255);comment:浼氳id"`
+		Accountant   string `json:"accountant" gorm:"type:varchar(255);comment:浼氳鍚嶇О"`
+		CustodianId  string `json:"custodianId" gorm:"type:varchar(255);comment:淇濈鍛榠d"`
+		Custodian    string `json:"custodian" gorm:"type:varchar(255);comment:淇濈鍛樺悕绉�"`
 	}
 
 	OperationSearch struct {

--
Gitblit v1.8.0