1
This commit is contained in:
parent
3c8fcf760e
commit
debf0c7def
17
server/wheelserver/model/chip.go
Normal file
17
server/wheelserver/model/chip.go
Normal file
@ -0,0 +1,17 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
)
|
||||
|
||||
type Chip struct {
|
||||
Idx int64 `gorm:"column:idx;AUTO_INCREMENT"`
|
||||
AccountId string `gorm:"column:account_id;primaryKey"`
|
||||
ItemId int64 `gorm:"column:item_id"`
|
||||
ItemNum int32 `gorm:"column:item_num"`
|
||||
CreateTime int32 `gorm:"column:createtime;<-:create"`
|
||||
ModifyTime int32 `gorm:"column:modifytime"`
|
||||
}
|
||||
|
||||
func (this *Chip) TableName() string {
|
||||
return "t_chip"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user