model/serviceContracts.go
@@ -25,6 +25,7 @@ Terms string `json:"terms" gorm:"column:terms;type:text;comment:条款"` Remark string `json:"remark" gorm:"column:remark;type:text;comment:备注"` Products []Product `json:"products" gorm:"many2many:serviceContract_product;"` gorm.Model `json:"-"` } ServiceContractSearch struct {