1
This commit is contained in:
parent
8d0a0d928f
commit
2bd2a7a99a
@ -6,8 +6,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Chip struct {
|
type Chip struct {
|
||||||
Idx int64 `gorm:"column:idx;AUTO_INCREMENT"`
|
Idx int64 `gorm:"column:idx;AUTO_INCREMENT;primaryKey"`
|
||||||
AccountId string `gorm:"column:account_id;primaryKey"`
|
AccountId string `gorm:"column:account_id"`
|
||||||
ItemId int32 `gorm:"column:item_id"`
|
ItemId int32 `gorm:"column:item_id"`
|
||||||
ItemNum int32 `gorm:"column:item_num"`
|
ItemNum int32 `gorm:"column:item_num"`
|
||||||
ExpireTime int32 `gorm:"column:expiretime;<-:create"`
|
ExpireTime int32 `gorm:"column:expiretime;<-:create"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user