- package typeManage
- type GameChannel struct {
- Id int64 `gorm:"column:id;type:bigint(20);primaryKey" json:"id"`
- ChannelName string `gorm:"column:channel_name;type:varchar(255);not null" json:"channelName" binding:"required"`
- ChannelDesc string `gorm:"column:channel_desc;type:varchar(255);not null" json:"channelDesc" binding:"required"`
- DisplaySequence int64 `gorm:"column:display_sequence;type:smallint" json:"displaySequence" binding:"required"`
- GameCounts int64 `gorm:"column:game_counts;type:int" json:"gameCounts" binding:"required"`
- CreateTime LocalTime `gorm:"column:create_time;type:TIMESTAMP;" json:"createTime"`
- UpdateTime LocalTime `gorm:"column:update_time;type:TIMESTAMP;" json:"updateTime"`
- }
|