Files
huangguo_server/models/v/nakedchatmod/app.go
T
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

44 lines
2.2 KiB
Go
Executable File

package nakedchatmod
import (
"time"
"go.mongodb.org/mongo-driver/bson/primitive"
)
// NakedChatSimple 移动端返回列表内容
type NakedChatSimple struct {
ID primitive.ObjectID `json:"id"` // 文档id
Title string `json:"title"` // 标题
Cover string `json:"cover"` // 封面
Price uint64 `json:"price"` // 价格 n金币/分钟
Age int `json:"age"` // 年龄 单位 岁
Weight int `json:"weight"` // 体重 单位 kg
Height int `json:"height"` // 身高 单位 cm
Cup string `json:"cup"` // 罩杯
SaleNum int64 `json:"saleNum"` // 销售数量(多少人看过)
CreatedAt time.Time `json:"createdAt"` // 文档创建时间
UpdatedAt time.Time `json:"updatedAt"` // 文档更新时间
}
// NakedChatInfo 移动端返回内容
type NakedChatInfo struct {
ID primitive.ObjectID `json:"id"` // 文档id
Title string `json:"title"` // 标题
Cover string `json:"cover"` // 封面
Price uint64 `json:"price"` // 价格 n金币/分钟
Options []uint64 `json:"options"` // 可供购买选项 ,多少分钟
Images []string `json:"images"` // 图片列表
Video string `json:"video"` // 展示的视频
Contact string `json:"contact "` // 联系方式
Age int `json:"age"` // 年龄 单位 岁
Weight int `json:"weight"` // 体重 单位 kg
Height int `json:"height"` // 身高 单位 cm
Cup string `json:"cup"` // 罩杯
SaleNum int64 `json:"saleNum"` // 销售数量(多少人看过)
BusinessHours string `json:"businessHours"` // 连线时间
Summary string `json:"summary"` // 简介
CreatedAt time.Time `json:"createdAt"` // 文档创建时间
UpdatedAt time.Time `json:"updatedAt"` // 文档更新时间
}