repositories

package
v0.0.0-...-6f2b15d Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 3 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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