imodel

package
v1.1.31 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAllFieldModel added in v1.1.0

type IAllFieldModel interface {
	IEasyModel
	IBaseModel
}

type IBaseModel added in v1.1.0

type IBaseModel interface {
	GetCreatedAt() *types.Time
	GetUpdatedAt() *types.Time
	GetDeletedAt() soft_delete.DeletedAt
	GetCreatorID() uint32
}

type IDict

type IDict interface {
	IAllFieldModel
	// GetName 字典名称
	GetName() string
	// GetValue 字典键值
	GetValue() string
	// GetDictType 字典类型
	GetDictType() vobj.DictType
	// GetColorType 字典颜色
	GetColorType() string
	// GetCSSClass 字典样式
	GetCSSClass() string
	// GetIcon 字典图标
	GetIcon() string
	// GetImageURL 字典图片
	GetImageURL() string
	// GetStatus 字典状态
	GetStatus() vobj.Status
	// GetLanguageCode 字典语言
	GetLanguageCode() vobj.Language
	// GetRemark 字典备注
	GetRemark() string
}

IDict 系统字典通用接口

type IEasyModel added in v1.1.0

type IEasyModel interface {
	GetID() uint32
	GetCreatedAt() *types.Time
	GetUpdatedAt() *types.Time
	GetDeletedAt() soft_delete.DeletedAt
}

type IResource added in v1.1.0

type IResource interface {
	IAllFieldModel
	GetName() string
	GetPath() string
	GetStatus() vobj.Status
	GetRemark() string
	GetModule() int32
	GetDomain() int32
	GetAllow() vobj.Allow
}

Jump to

Keyboard shortcuts

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