user_imei.go 409 Bytes
Newer Older
kzkzzzz's avatar
kzkzzzz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package model

import (
	"time"
)

type UserImei struct {
	CreatedTime time.Time `json:"created_time"` // CreatedTime
	Id          int64     `json:"id"`           // id
	Imei        string    `json:"imei"`         // 设备码
	UpdatedTime time.Time `json:"updated_time"` // UpdatedTime
	UserId      int64     `json:"user_id"`      // 用户ID
}

func (u *UserImei) TableName() string {
	return "user_imei"
}