Browse Source

设备

master
huangjiajun 11 hours ago
parent
commit
9a9737fc2e
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      src/model/user_imei.go

+ 4
- 3
src/model/user_imei.go View File

@@ -6,8 +6,9 @@ import (

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)"`
Uid int `json:"uid" xorm:"index INT(11)"`
Imei string `json:"imei" xorm:"index VARCHAR(255)"`
CreateAt time.Time `json:"create_at" xorm:"DATETIME"`
Ip string `json:"ip" xorm:"VARCHAR(255)"`
Ip string `json:"ip" xorm:"index VARCHAR(255)"`
UpdateAt time.Time `json:"update_at" xorm:"DATETIME"`
}

Loading…
Cancel
Save