123456789101112131415161718192021222324252627282930 |
- // 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 TableNameGemStat = "gem_stat"
- // GemStat mapped from table <gem_stat>
- type GemStat struct {
- ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
- ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID
- Part int64 `gorm:"column:part;type:bigint(20);not null" json:"part"` // 部位(宝石)类型
- Slot1 int64 `gorm:"column:slot1;type:bigint(20);not null" json:"slot1"` // 宝石位1
- Slot2 int64 `gorm:"column:slot2;type:bigint(20);not null" json:"slot2"` // 宝石位2
- Slot3 int64 `gorm:"column:slot3;type:bigint(20);not null" json:"slot3"` // 宝石位3
- Slot4 int64 `gorm:"column:slot4;type:bigint(20);not null" json:"slot4"` // 宝石位4
- Lv1 int64 `gorm:"column:lv1;type:bigint(20);not null" json:"lv1"` // 宝石1级
- Lv2 int64 `gorm:"column:lv2;type:bigint(20);not null" json:"lv2"` // 宝石2级
- Lv3 int64 `gorm:"column:lv3;type:bigint(20);not null" json:"lv3"` // 宝石3级
- Lv4 int64 `gorm:"column:lv4;type:bigint(20);not null" json:"lv4"` // 宝石4级
- Lv5 int64 `gorm:"column:lv5;type:bigint(20);not null" json:"lv5"` // 宝石5级
- Lv6 int64 `gorm:"column:lv6;type:bigint(20);not null" json:"lv6"` // 宝石6级
- Date string `gorm:"column:date;type:date;not null;index:date,priority:1" json:"date"` // 触发日期 2005-01-02
- }
- // TableName GemStat's table name
- func (*GemStat) TableName() string {
- return TableNameGemStat
- }
|