You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
868 B
Go

package models
import "goqs/global"
type Device struct {
global.MODEL
Project string `json:"project"`
ProductName string `json:"product_name" gorm:"product_name"`
DeviceName string `json:"device_name" gorm:"device_name"`
OS string `json:"os" gorm:"os"`
Udid string `json:"udid" gorm:"udid"`
Status string `json:"status" gorm:"status"`
Platform string `json:"platform" gorm:"platform"`
}
func (d *Device) TableName() string {
return "device"
}
type MonkeyDevice struct {
// global.MODEL
// Project string `json:"project"`
// AppName string `json:"app_name" gorm:"app_name"`
Udid string `json:"udid" gorm:"udid"`
Status string `json:"status" gorm:"status"`
Platform string `json:"platform" gorm:"platform"`
ProductName string `json:"product_name" gorm:"product_name"`
}