update backend

This commit is contained in:
toom1996
2026-09-20 01:06:13 +08:00
parent f7ae917603
commit b99dc3dca1
115 changed files with 24732 additions and 10842 deletions

View File

@ -2,7 +2,7 @@ package model
// Brand 品牌表。
//
// 注意:时间戳字段为 int unsigned 存储的 Unix 秒,不是 MySQL datetime,
// 注意:时间戳字段为 int unsigned 存储的 Unix 秒,不是数据库 datetime,
// 迁移时保持原样,避免与既有数据不兼容。
type Brand struct {
ID uint32 `gorm:"primaryKey;column:id" json:"id"`
@ -17,4 +17,4 @@ type Brand struct {
}
// TableName 指定表名。
func (Brand) TableName() string { return "brand" }
func (Brand) TableName() string { return "brands" }