Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
package main
import (
"91porn-server/generate/common"
"go.mongodb.org/mongo-driver/bson/primitive"
"time"
)
type NakedChat struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"id" comment:"文档id"`
Title string `json:"title" bson:"title" comment:"标题"`
Cover string `json:"cover" bson:"cover" comment:"封面"`
Price int64 `json:"price" bson:"price" comment:"价格 n金币/分钟"`
Options []int64 `json:"options" bson:"options" comment:"可供购买选项 ,多少分钟"`
Images []string `json:"images" bson:"images" comment:"图片列表"`
Video string `json:"video" bson:"video" comment:"展示的视频"`
Contact string `json:"contact " bson:"contact" comment:"联系方式"`
Age int `json:"age" bson:"age" comment:"年龄 单位 岁"`
Weight int `json:"weight" bson:"weight" comment:"体重 单位 kg"`
Cup string `json:"cup" bson:"cup" comment:"罩杯"`
SaleNum int64 `json:"saleNum" bson:"saleNum" comment:"销售数量"` // 销售数量
FakeSaleNum int64 `json:"fakeSaleNum" bson:"fakeSaleNum" comment:"销售数量(假)"` // 销售数量(假)
BusinessHours string `json:"businessHours" bson:"businessHours" comment:"连线时间"` // 连线时间
Summary string `json:"summary" bson:"summary" comment:"简介"` // 简介
CreatedAt time.Time `json:"createdAt" bson:"createdAt" comment:"文档创建时间"` // 文档创建时间
UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt" comment:"文档更新时间"` // 文档更新时间
}
func main() {
g := common.NewGen("91porn-server", "裸聊")
g.AppGenerate = true
g.Generate(NakedChat{})
}