gameChannel.go 768 B

123456789101112
  1. package typeManage
  2. type GameChannel struct {
  3. Id int64 `gorm:"column:id;type:bigint(20);primaryKey" json:"id"`
  4. ChannelName string `gorm:"column:channel_name;type:varchar(255);not null" json:"channelName" binding:"required"`
  5. ChannelDesc string `gorm:"column:channel_desc;type:varchar(255);not null" json:"channelDesc" binding:"required"`
  6. DisplaySequence int64 `gorm:"column:display_sequence;type:smallint" json:"displaySequence" binding:"required"`
  7. GameCounts int64 `gorm:"column:game_counts;type:int" json:"gameCounts" binding:"required"`
  8. CreateTime LocalTime `gorm:"column:create_time;type:TIMESTAMP;" json:"createTime"`
  9. UpdateTime LocalTime `gorm:"column:update_time;type:TIMESTAMP;" json:"updateTime"`
  10. }