diff --git a/src/model/user_imei.go b/src/model/user_imei.go new file mode 100644 index 0000000..06d98b4 --- /dev/null +++ b/src/model/user_imei.go @@ -0,0 +1,13 @@ +package model + +import ( + "time" +) + +type UserImei struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Uid int `json:"uid" xorm:"INT(11)"` + Imei string `json:"imei" xorm:"VARCHAR(255)"` + CreateAt time.Time `json:"create_at" xorm:"DATETIME"` + Ip string `json:"ip" xorm:"VARCHAR(255)"` +}