model/test/contract.go
@@ -11,6 +11,7 @@ SupplierID *int `json:"supplierID" form:"supplierID" gorm:"column:supplier_id;comment:供应商id;"` FileName string `json:"fileName" form:"fileName" gorm:"column:file_name;comment:文件名称;size:255;"` FileContent []byte `json:"fileContent" form:"fileContent" gorm:"type:mediumblob;column:file_content;comment:文件内容;"` FileType string `json:"fileType" form:"fileType" gorm:"column:file_type;comment:文件类型;size:255;"` } // TableName Contract 表名