feat: 代码生成

This commit is contained in:
Blizzard
2026-04-28 10:29:02 +08:00
parent 7e282b36d7
commit b343856b58
38 changed files with 2199 additions and 51 deletions
+13
View File
@@ -0,0 +1,13 @@
package order
import "sundynix-go/global"
// Stock
type Stock struct {
global.BaseModel
Amount int64 `gorm:"column:amount" json:"amount"` //
}
func (Stock) TableName() string {
return "sundynix_stock"
}