From a699ff979c84d024ca33fb1139224258f278319f Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 20 十月 2023 11:32:23 +0800 Subject: [PATCH] debug --- model/process_model.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/process_model.go b/model/process_model.go index eeffa77..253860f 100644 --- a/model/process_model.go +++ b/model/process_model.go @@ -11,7 +11,7 @@ type ( // ProcessModel 宸ヨ壓鍙傛暟 ProcessModel struct { - gorm.Model `json:"-"` + gorm.Model Number string `gorm:"index;column:number;type:varchar(255);not null;default ''" json:"number"` //宸ヨ壓妯″瀷缂栧彿 Product string `gorm:"column:product;type:varchar(255);not null;default ''" json:"product"` //浜у搧鍚嶇О Procedure string `gorm:"column:procedure;type:varchar(255);not null;default ''" json:"procedure"` //宸ュ簭 -- Gitblit v1.8.0