service/dbstruct/callhistory.go

20 lines
1.4 KiB
Go

package dbstruct
type CallHistory struct {
Id *int64 `json:"id" bson:"_id"` // 通话记录表id
SubMid *int64 `json:"sub_mid" bson:"sub_mid"` // 主语mid(用户)
ObjMid *int64 `json:"obj_mid" bson:"obj_mid"` // 宾语mid(主播)
Predicate *int64 `json:"predicate" bson:"predicate"` // 谓词
Duration *int64 `json:"duration" bson:"duration"` // 持续时间
StartTime *int64 `json:"start_time" bson:"start_time"` // 开始时间
EndTime *int64 `json:"end_time" bson:"end_time"` // 结束时间
WatchExpense *int64 `json:"watch_expense" bson:"watch_expense"` // 观看消费金币
GiftExpense *int64 `json:"gift_expense" bson:"gift_expense"` // 送礼消费金币
AffinityIncrement *int64 `json:"affinity_increment" bson:"affinity_increment"` // 亲密度增量
Tags *[]int64 `json:"tags" bson:"tags"` // 用户打标
Ct *int64 `json:"ct" bson:"ct"` // 创建时间
Ut *int64 `json:"ut" bson:"ut"` // 更新时间
DelFlag *int64 `json:"del_flag" bson:"del_flag"` // 删除标记
}