// 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 TableNameGameUser = "game_user" // GameUser mapped from table type GameUser struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` HashID string `gorm:"column:hash_id;type:varchar(20);not null;uniqueIndex:uniq_hash_id,priority:1" json:"hash_id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_project_id_game_id_sub_user_id,priority:1;comment:项目id" json:"project_id"` GameID int64 `gorm:"column:game_id;type:bigint;not null;index:idx_project_id_game_id_sub_user_id,priority:2;comment:游戏id" json:"game_id"` IP string `gorm:"column:ip;type:varchar(255);not null" json:"ip"` Os string `gorm:"column:os;type:varchar(255);not null" json:"os"` Ver string `gorm:"column:ver;type:varchar(255);not null" json:"ver"` DModel string `gorm:"column:d_model;type:varchar(255);not null" json:"d_model"` SubUserID string `gorm:"column:sub_user_id;type:varchar(50);not null;index:idx_project_id_game_id_sub_user_id,priority:3;comment:用户id" json:"sub_user_id"` IovdMark string `gorm:"column:iovd_mark;type:varchar(32);not null;index:idx_project_id_game_id_iovd_mark,priority:3;comment:App用户唯一标识" json:"iovd_mark"` } // TableName GameUser's table name func (*GameUser) TableName() string { return TableNameGameUser }