package searcher import ( "time" "go.mongodb.org/mongo-driver/bson/primitive" ) // LouFengInfo LouFengInfo type LouFengInfo struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` Title string `json:"title" bson:"title,omitempty"` //标题 Number int `json:"number" bson:"number,omitempty"` //编号 Quantity string `json:"quantity" bson:"quantity,omitempty"` //数量 Age string `json:"age" bson:"age,omitempty"` //年龄 Cover string `json:"cover" bson:"cover,omitempty"` //封面 Price string `json:"price" bson:"price"` //价格 单位 元 BusinessHours string `json:"businessHours" bson:"businessHours,omitempty"` //营业时间 0-24 ServiceItems []string `json:"serviceItems" bson:"serviceItems,omitempty"` //服务项目 City string `json:"city" bson:"city,omitempty"` //市 District string `json:"district" bson:"district,omitempty"` //区,县 Contact string `json:"contact" bson:"contact,omitempty"` //联系方式 ContactPrice int64 `json:"contactPrice" bson:"contactPrice,omitempty"` //联系方式价格 单位 金币(角) Impression string `json:"impression" bson:"impression,omitempty"` //狼友印象 EnvStar int `json:"envStar" bson:"envStar,omitempty"` //环境评分 PrettyStar int `json:"prettyStar" bson:"prettyStar,omitempty"` //颜值评分 OverallRatings int `json:"overallRatings" bson:"overallRatings,omitempty"` //综合评分 ServiceStar int `json:"serviceStar" bson:"serviceStar,omitempty"` //服务星级 BusinessDate string `json:"businessDate" bson:"businessDate,omitempty"` //营业月 份 "2020-06" IsActive bool `json:"isActive " bson:"isActive"` //是否激活 IsVerify bool `json:"isVerify" bson:"isVerify"` //是否验证 CountPurchases int64 `json:"countPurchases" bson:"countPurchases"` //购买数 CountBrowse int64 `json:"countBrowse" bson:"countBrowse"` //浏览数 CountCollect int64 `json:"countCollect" bson:"countCollect"` //收藏数 CreatedAt time.Time `json:"createdAt" bson:"createdAt,omitempty"` //创建时间 UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt,omitempty"` //修改时间 }