1
This commit is contained in:
parent
fffea28bfb
commit
1bc085ea69
@ -7,8 +7,8 @@ type User struct {
|
|||||||
NickName string `gorm:"column:nickname"`
|
NickName string `gorm:"column:nickname"`
|
||||||
Score string `gorm:"column:score"`
|
Score string `gorm:"column:score"`
|
||||||
Dice int32 `gorm:"column:dice"`
|
Dice int32 `gorm:"column:dice"`
|
||||||
CreateTime int32 `gorm:"column:createtime" json:"-"`
|
CreateTime int32 `gorm:"column:createtime"`
|
||||||
ModifyTime int32 `gorm:"column:modifytime" json:"-"`
|
ModifyTime int32 `gorm:"column:modifytime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this User) TableName() string {
|
func (this User) TableName() string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user