Documentation
¶
Overview ¶
Code generated by xorm/reverse generate DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbComment ¶
type DbComment struct {
bun.BaseModel `bun:"table:comment,alias:c"`
Id *int64 `bun:"id,pk"`
Text string `bun:"text"`
CreatedAt *time.Time `bun:"created_at"`
UpdatedAt *time.Time `bun:"updated_at"`
}
func FromCommentEntity ¶
func FromCommentEntity(comment entities.CommentEntity) DbComment
func (DbComment) ToCommentEntity ¶
func (dbComment DbComment) ToCommentEntity() entities.CommentEntity
Click to show internal directories.
Click to hide internal directories.