You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
605 B
24 lines
605 B
package model |
|
|
|
import ( |
|
"go-common/library/time" |
|
) |
|
|
|
const ( |
|
// StateNormal UserInfo 正常状态 |
|
StateNormal = 0 |
|
// StateBlock UserInfo 封禁状态 |
|
StateBlock = 1 |
|
) |
|
|
|
// UserInfo def. |
|
type UserInfo struct { |
|
ID int64 `json:"id"` |
|
Mid int64 `json:"mid"` |
|
Score int8 `json:"score"` //真实得分 |
|
BaseScore int8 `json:"base_score"` //基础信息得分 |
|
EventScore int8 `json:"event_score"` //事件得分 |
|
State int8 `json:"state"` //状态 : 正常/封禁 |
|
CTime time.Time `json:"ctime"` |
|
MTime time.Time `json:"mtime"` |
|
}
|
|
|