12345678910111213141516171819202122 |
- // 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 TableNameReportLevelOutput = "report_level_output"
- // ReportLevelOutput mapped from table <report_level_output>
- type ReportLevelOutput struct {
- ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` // ID
- Level int64 `gorm:"column:level;type:bigint(20);not null;uniqueIndex:level,priority:1;uniqueIndex:level_2,priority:1" json:"level"`
- ChannelID string `gorm:"column:channel_id;type:varchar(128);uniqueIndex:level_2,priority:2;default:0" json:"channel_id"` // 渠道ID
- ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID
- Coin int64 `gorm:"column:coin;type:bigint(20)" json:"coin"` // 金币
- Diamond int64 `gorm:"column:diamond;type:bigint(20);not null" json:"diamond"` // 钻石
- }
- // TableName ReportLevelOutput's table name
- func (*ReportLevelOutput) TableName() string {
- return TableNameReportLevelOutput
- }
|