diff --git a/server/wheelserver/model/chip.go b/server/wheelserver/model/chip.go new file mode 100644 index 00000000..485e56d4 --- /dev/null +++ b/server/wheelserver/model/chip.go @@ -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" +}