From e3aa125631405057abd47607aaa9488a1c5861e6 Mon Sep 17 00:00:00 2001 From: songchuang <192749120@qq.com> Date: Thu, 16 Mar 2023 13:38:37 +0800 Subject: [PATCH] =?UTF-8?q?contract=20=E6=95=B0=E6=8D=AE=E5=BA=93ArtworkUi?= =?UTF-8?q?d=E5=AD=97=E6=AE=B5=E5=A4=A7=E5=B0=8F=E5=8F=98=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/model/contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/model/contract.go b/cmd/model/contract.go index 5ba1ee1..5430ed9 100644 --- a/cmd/model/contract.go +++ b/cmd/model/contract.go @@ -7,7 +7,7 @@ type Contract struct { ID int32 `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"` Uid string `gorm:"column:uid;type:varchar(100);comment:合同表的唯一表示;NOT NULL" json:"uid"` ArtistUid string `gorm:"column:artist_uid;type:varchar(100);comment:画家uid;NOT NULL" json:"artist_uid"` - ArtworkUid string `gorm:"column:artwork_uid;type:varchar(100);comment:画作uid" json:"artwork_uid"` + ArtworkUid string `gorm:"column:artwork_uid;type:varchar(1000);comment:画作uid" json:"artwork_uid"` ContractId string `gorm:"column:contract_id;type:varchar(100);comment:合同id" json:"contract_id"` TransactionId string `gorm:"column:transaction_id;type:varchar(100);comment:交易id" json:"transaction_id"` Type int32 `gorm:"column:type;type:int(1);comment:合同类型;NOT NULL" json:"type"`