entity

package
v0.1.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	entity.BaseEntity `xorm:"extends"`
	CommentId         string `xorm:"varchar(255) index notnull" json:"cid"`
	Text              string `json:"text"`
	AwemeId           string `json:"aweme_id"` //视频编号
	DiggCount         int64  `json:"digg_count"`
	UserId            string `json:"uid"`
	Nickname          string `json:"nickname"`
	Signature         string `json:"signature"`
	ReplyId           string `json:"reply_id"`
	UserDigged        int64  `json:"user_digged"`
	ReplyComment      string `json:"reply_comment"`
	ReplyCommentTotal int64  `json:"reply_comment_total"`
	IsHot             bool   `json:"is_hot"`
	ItemCommentTotal  int64  `json:"item_comment_total"`
}

func (Comment) IdName

func (Comment) IdName() string

func (Comment) KeyName

func (Comment) KeyName() string

func (Comment) TableName

func (Comment) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL