ums_role

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() *umsRoleQueryBuilder

Types

type UmsRole

type UmsRole struct {
	Id          int64     //
	Name        string    // 名称
	Description string    // 描述
	AdminCount  int32     // 后台用户数量
	CreateTime  time.Time `gorm:"autoCreateTime"` // 创建时间
	Status      int32     // 启用状态:0->禁用;1->启用
	Sort        int32     //
}

UmsRole 后台用户角色表

func NewModel

func NewModel() *UmsRole

func (*UmsRole) Create

func (t *UmsRole) 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