youtu_ecpm/dao/model/game_score.gen.go
2025-01-18 17:56:36 +08:00

20 lines
647 B
Go

// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
const TableNameGameScore = "game_score"
// GameScore mapped from table <game_score>
type GameScore struct {
AppUserID uint64 `gorm:"column:app_user_id;type:bigint unsigned;primaryKey" json:"app_user_id"`
AppAccount uint32 `gorm:"column:app_account;type:int unsigned;primaryKey" json:"app_account"`
Score uint32 `gorm:"column:score;type:int unsigned;not null" json:"score"`
}
// TableName GameScore's table name
func (*GameScore) TableName() string {
return TableNameGameScore
}