This commit is contained in:
@@ -22,6 +22,7 @@ type ProductDocumentation struct {
|
||||
ResponseExample string `gorm:"type:text" comment:"响应示例"`
|
||||
ErrorCodes string `gorm:"type:text" comment:"错误代码"`
|
||||
Version string `gorm:"type:varchar(20);default:'1.0'" comment:"文档版本"`
|
||||
PDFFilePath string `gorm:"type:varchar(500)" comment:"PDF文档文件路径或URL"`
|
||||
|
||||
// 关联关系
|
||||
Product *Product `gorm:"foreignKey:ProductID" comment:"产品"`
|
||||
|
||||
Reference in New Issue
Block a user