From af55de2fd1677bd528ce0be6ceba8b5ee80b46ed Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 13 六月 2024 20:01:25 +0800 Subject: [PATCH] add attribute model and attribute value model --- models/material.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/models/material.go b/models/material.go index 4c6eaa2..031fc32 100644 --- a/models/material.go +++ b/models/material.go @@ -86,6 +86,7 @@ NetWeight decimal.Decimal `json:"netWeight" gorm:"type:decimal(20,3);comment:鍑�閲�"` GrossUnit string `json:"grossUnit" gorm:"type:varchar(255);comment:姣涢噸鍗曚綅"` NetUnit string `json:"netUnit" gorm:"type:varchar(255);comment:鍑�閲嶅崟浣�"` + Attributes []Attribute `json:"attributes" gorm:"-"` //鍔ㄦ�佸睘鎬� //浠ヤ笅涓轰笉瀛樺簱鐨勫瓧娈� AttachmentIDs []uint `json:"attachmentIDs" gorm:"-"` -- Gitblit v1.8.0