From b90a31431164b4b0756e4ef76f08b08953b8b04d Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 13 十月 2023 14:56:23 +0800 Subject: [PATCH] 服务合同简单数据权限 --- model/vetting.go | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/model/vetting.go b/model/vetting.go index fb97c05..4729d8c 100644 --- a/model/vetting.go +++ b/model/vetting.go @@ -13,7 +13,11 @@ // 瀹℃壒鐘舵�� Status int `json:"status" gorm:"column:status;type:int;comment:瀹℃壒鐘舵��"` // 瀹℃壒浜� - UserId int `json:"userId" gorm:"column:user_id;type:int;comment:瀹℃壒浜�"` + UserId int `json:"userId" gorm:"column:user_id;type:int;comment:瀹℃壒浜�"` + // 瀹℃壒绫诲瀷 + VettingType int `json:"vettingType" gorm:"column:vetting_type;type:int;comment:瀹℃壒绫诲瀷"` + // 瀹℃壒鍗曞彿 + VettingId int `json:"vettingId" gorm:"column:vetting_id;type:int;comment:瀹℃壒鍗曞彿"` gorm.Model `json:"-"` } -- Gitblit v1.8.0