feat: 代码生成
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user