package log

type DeviceLog struct {
	Id                 uint   `json:"id"`
	SimulatorCode      string `json:"simulator_code"`
	DeviceManufacturer string `json:"device_manufacturer"`
	DeviceModel        string `json:"device_model"`
	DeviceImei         string `json:"device_imei"`
	DeviceSdk          string `json:"device_sdk"`
	DeviceMac          string `json:"device_mac"`
	DeviceNumber       string `json:"device_number"`
	DeviceIp           string `json:"device_ip"`
	DeviceId           string `json:"device_id"`
	Account            string `json:"account"`
	GameId             int    `json:"game_id"`
	CreateDate         string `json:"create_date"`
	CreateTime         string `json:"create_time"` // 创建时间
	IsErr              int8   `json:"is_err"`
	ErrStatus          uint8  `json:"err_status"`
	DeviceHex          string `json:"device_hex"`
	AccountHex         string `json:"account_hex"`
	LogUuid            string `json:"log_uuid"` //日志UUID
}

func (DeviceLog) TableName() string {
	return "device_log"
}

type AccountHex struct {
	DeviceManufacturer string `json:"device_manufacturer"`
	DeviceModel        string `json:"device_model"`
	DeviceImei         string `json:"device_imei"`
	DeviceSdk          string `json:"device_sdk"`
	DeviceMac          string `json:"device_mac"`
	DeviceNumber       string `json:"device_number"`
	DeviceId           string `json:"device_id"`
	GameId             int    `json:"game_id"`
	Account            string `json:"account"`
}

type DeviceHex struct {
	DeviceManufacturer string `json:"device_manufacturer"`
	DeviceModel        string `json:"device_model"`
	DeviceImei         string `json:"device_imei"`
	DeviceSdk          string `json:"device_sdk"`
	DeviceMac          string `json:"device_mac"`
	DeviceNumber       string `json:"device_number"`
	DeviceId           string `json:"device_id"`
	GameId             int    `json:"game_id"`
}
