This commit is contained in:
aozhiwei 2024-11-11 16:37:59 +08:00
parent 3c8fcf760e
commit debf0c7def

View 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"
}