dao

package
v0.0.0-...-e68aaec Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTable

func InitTable(db *egorm.Component) error

Types

type Label

type Label struct {
	Id    int64 `gorm:"primary_key;AUTO_INCREMENT"`
	Uid   int64
	Name  string
	Ctime int64 `gorm:"autoCreateTime:milli"`       // 自动创建时间,单位为毫秒
	Utime int64 `gorm:"autoUpdateTime:milli;index"` // 自动更新时间,单位为毫秒
}

Jump to

Keyboard shortcuts

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