game.go 810 B

1234567891011121314151617
  1. package model
  2. type Game struct {
  3. Id int `json:"id" gorm:"primary_key"`
  4. Pid string `json:"pid" gorm:"column:pid; "`
  5. Gid string `json:"gid" gorm:"column:gid; "`
  6. GameName string `json:"gameName" gorm:"column:gameName; "`
  7. WxAppid string `json:"wxAppid" gorm:"column:wxAppid; "`
  8. WxSecret string `json:"wxSecret" gorm:"column:wxSecret; "`
  9. TtAppid string `json:"ttAppid" gorm:"column:ttAppid; "`
  10. TtSecret string `json:"ttSecret" gorm:"column:ttSecret; "`
  11. TtTplId string `json:"ttTplId" gorm:"column:ttTplId; "`
  12. WxTplId string `json:"wxTplId" gorm:"column:wxTplId; "`
  13. ConfigPath string `json:"configPath" gorm:"column:configPath; "`
  14. CreatedAt XTime `json:"createdAt" gorm:"column:createdAt; "`
  15. UpdatedAt XTime `json:"updatedAt" gorm:"column:updatedAt; "`
  16. }