From f22238066f4901370059bb6aaa94742709c4e8bd Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期一, 28 八月 2023 19:18:17 +0800
Subject: [PATCH] fix

---
 model/test/supplier.go |   31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/model/test/supplier.go b/model/test/supplier.go
index d8251cd..40a56f5 100644
--- a/model/test/supplier.go
+++ b/model/test/supplier.go
@@ -2,26 +2,27 @@
 package test
 
 import (
-	"github.com/flipped-aurora/gin-vue-admin/server/global"
+	"srm/global"
 )
 
 // Supplier 缁撴瀯浣�
 type Supplier struct {
 	global.GVA_MODEL
-	Number              string `json:"number" form:"number" gorm:"column:number;comment:渚涘簲鍟嗙紪鍙�;size:255;"`
-	Name                string `json:"name" form:"name" gorm:"column:name;comment:鍚嶇О;size:255;"`
-	SupplierType        string `json:"supplierType" form:"supplierType" gorm:"column:supplier_type;comment:渚涘簲鍟嗙被鍨�;size:255;"`
-	Industry            string `json:"industry" form:"industry" gorm:"column:industry;comment:鎵�灞炶涓�;size:255;"`
-	Contact             string `json:"contact" form:"contact" gorm:"column:contact;comment:鑱旂郴浜�;size:255;"`
-	Phone               string `json:"phone" form:"phone" gorm:"column:phone;comment:鐢佃瘽;size:255;"`
-	ResponsiblePersonId *int   `json:"responsiblePersonId" form:"responsiblePersonId" gorm:"column:responsible_person_id;comment:璐熻矗浜篿d;size:11;"`
-	Email               string `json:"email" form:"email" gorm:"column:email;comment:閭;size:255;"`
-	DetailAddress       string `json:"detailAddress" form:"detailAddress" gorm:"column:detail_address;comment:璇︾粏鍦板潃;type:text;"`
-	Url                 string `json:"url" form:"url" gorm:"column:url;comment:缃戝潃;size:255;"`
-	AccountName         string `json:"accountName" form:"accountName" gorm:"column:account_name;comment:鎴峰悕;size:255;"`
-	Account             string `json:"account" form:"account" gorm:"column:account;comment:璐﹀彿;size:255;"`
-	Bank                string `json:"bank" form:"bank" gorm:"column:bank;comment:寮�鎴疯;size:255;"`
-	File                string `json:"file" form:"file" gorm:"column:file;comment:鏂囦欢;"`
+	Number                string `json:"number" form:"number" gorm:"column:number;comment:渚涘簲鍟嗙紪鍙�;size:255;"`
+	Name                  string `json:"name" form:"name" gorm:"column:name;comment:鍚嶇О;size:255;"`
+	SupplierType          string `json:"supplierType" form:"supplierType" gorm:"column:supplier_type;comment:渚涘簲鍟嗙被鍨�;size:255;"`
+	Industry              string `json:"industry" form:"industry" gorm:"column:industry;comment:鎵�灞炶涓�;size:255;"`
+	Contact               string `json:"contact" form:"contact" gorm:"column:contact;comment:鑱旂郴浜�;size:255;"`
+	Phone                 string `json:"phone" form:"phone" gorm:"column:phone;comment:鐢佃瘽;size:255;"`
+	ResponsiblePersonName string `json:"responsiblePersonName" form:"responsiblePersonName" gorm:"column:responsible_person_name;comment:璐熻矗浜�;size:255;"`
+	Email                 string `json:"email" form:"email" gorm:"column:email;comment:閭;size:255;"`
+	DetailAddress         string `json:"detailAddress" form:"detailAddress" gorm:"column:detail_address;comment:璇︾粏鍦板潃;type:text;"`
+	Url                   string `json:"url" form:"url" gorm:"column:url;comment:缃戝潃;size:255;"`
+	AccountName           string `json:"accountName" form:"accountName" gorm:"column:account_name;comment:鎴峰悕;size:255;"`
+	Account               string `json:"account" form:"account" gorm:"column:account;comment:璐﹀彿;size:255;"`
+	Bank                  string `json:"bank" form:"bank" gorm:"column:bank;comment:寮�鎴疯;size:255;"`
+	FileId                *int   `json:"fileId" form:"fileId" gorm:"column:file_id;comment:闄勪欢id;size:11;"`
+	Status                int    `json:"status" form:"status" gorm:"column:status;comment:鐘舵��;size:11;"`
 }
 
 // TableName Supplier 琛ㄥ悕

--
Gitblit v1.8.0