package dbstruct type EsStreamerAcct struct { Mid int64 `json:"id"` // 用户表Id Name string `json:"name"` // 用户名 UserIdString string `json:"user_id_string"` // string型user_id,为模糊匹配设置 PinYin string `json:"pinyin"` // 拼音 Age int64 `json:"age"` // 年龄 Height int64 `json:"height"` // 身高 Weight int64 `json:"weight"` // 体重 Fans int64 `json:"fans"` // 粉丝量 City string `json:"city"` // 所在城市 Constellation string `json:"constellation"` // 星座 LastZoneMomentCreateDayStart int64 `json:"last_zone_moment_create_day_start"` // 最后空间动态创建日始整点 WechatCoinPrice int64 `json:"wechat_coin_price"` // 微信金币价格 ZoneAdmissionPrice int64 `json:"zone_admission_price"` // 空间解锁价格, 单位: 分 Ct int64 `json:"ct"` // 创建时间 Ut int64 `json:"ut"` // 更新时间 DelFlag int64 `json:"del_flag"` // 删除标记,0-否,1-是 } type EsStreamerAcctUpdater struct { Mid *int64 `json:"id" bson:"_id"` // 用户表Id Name *string `json:"name" bson:"name"` // 用户名 UserIdString *string `json:"user_id_string" bson:"user_id_string"` // string型user_id,为模糊匹配设置 PinYin *string `json:"pinyin" bson:"pinyin"` // 拼音 Age *int64 `json:"age" bson:"age"` // 年龄 Height *int64 `json:"height" bson:"height"` // 身高 Weight *int64 `json:"weight" bson:"weight"` // 体重 Fans *int64 `json:"fans"` // 粉丝量 City *string `json:"city" bson:"city"` // 所在城市 Constellation *string `json:"constellation" bson:"constellation"` // 星座 LastZoneMomentCreateDayStart *int64 `json:"last_zone_moment_create_day_start" bson:"last_zone_moment_create_day_start"` // 最后空间动态创建日始整点 WechatCoinPrice *int64 `json:"wechat_coin_price" bson:"wechat_coin_price"` // 微信金币价格 ZoneAdmissionPrice *int64 `json:"zone_admission_price" bson:"zone_admission_price"` Ct *int64 `json:"ct" bson:"ct"` Ut *int64 `json:"ut" bson:"ut"` DelFlag *int64 `json:"del_flag" bson:"del_flag"` } func (p *EsStreamerAcctUpdater) GetMid() int64 { if p == nil || p.Mid == nil { return 0 } return *p.Mid }