feat: 代码生成
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package order
|
||||
|
||||
import "sundynix-go/global"
|
||||
|
||||
// Order
|
||||
type Order struct {
|
||||
global.BaseModel
|
||||
UserId string `gorm:"column:user_id;size:50" json:"userId"` //
|
||||
}
|
||||
|
||||
func (Order) TableName() string {
|
||||
return "sundynix_order"
|
||||
}
|
||||
Reference in New Issue
Block a user