gameshieldsdkip.go 319 B

123456789101112131415
  1. package model
  2. import "time"
  3. type GameShieldSdkIp struct {
  4. Id int `gorm:"primarykey"`
  5. Uid int `gorm:"not null"`
  6. HostId int `gorm:"not null"`
  7. SdkIp string `gorm:"not null unique"`
  8. CreatedAt time.Time
  9. }
  10. func (m *GameShieldSdkIp) TableName() string {
  11. return "shd_game_shield_sdk_ip"
  12. }