ums_resource

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryBuilder

func NewQueryBuilder() *umsResourceQueryBuilder

Types

type UmsResource

type UmsResource struct {
	Id          int64     //
	CreateTime  time.Time `gorm:"autoCreateTime"` // 创建时间
	Name        string    // 资源名称
	Url         string    // 资源URL
	Description string    // 描述
	CategoryId  int64     // 资源分类ID
}

UmsResource 后台资源表

func NewModel

func NewModel() *UmsResource

func (*UmsResource) Create

func (t *UmsResource) Create(db *gorm.DB) (id int64, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳