dao

package
v0.25.9 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TypeComment

type TypeComment struct {
	Content     string
	ID          uint32
	TopicID     uint32
	UID         uint32
	Related     uint32
	CreatedTime uint32
}

func (*TypeComment) CommentID

func (c *TypeComment) CommentID() model.CommentID

func (*TypeComment) CreateAt

func (c *TypeComment) CreateAt() time.Time

func (*TypeComment) CreatorID

func (c *TypeComment) CreatorID() model.UserID

func (*TypeComment) GetContent

func (c *TypeComment) GetContent() string

func (*TypeComment) GetID

func (c *TypeComment) GetID() model.CommentID

func (*TypeComment) GetState

func (c *TypeComment) GetState() uint8

func (*TypeComment) GetTopicID

func (c *TypeComment) GetTopicID() uint32

func (*TypeComment) IsSubComment

func (c *TypeComment) IsSubComment() bool

func (*TypeComment) RelatedTo

func (c *TypeComment) RelatedTo() model.CommentID

Jump to

Keyboard shortcuts

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