zhangqian
2024-06-13 af55de2fd1677bd528ce0be6ceba8b5ee80b46ed
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:"-"`