entity

package module
v0.0.0-...-633281b Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IgnoreURLBase_tableName = ""
View Source
var IgnoreURL_tableName = ""

Functions

This section is empty.

Types

type IgnoreURL

type IgnoreURL struct {
	IgnoreURLBase
	GsMustLoginText string `json:"sMustLoginText" gorm:"<-:false;column:sMustLoginText"` //必须登录(布尔值,1:是;2:否)
}

*

  • 拦截器忽略路径'IgnoreURL'表结构体
  • 警告:非数据库字段禁止在此添加,应该创建扩展结构体中添加
  • @author HuangXinBian

func (IgnoreURL) Info

func (iu IgnoreURL) Info() *TableInfo

*

  • 结构体映射表简化信息

func (IgnoreURL) New

func (IgnoreURL) New() IgnoreURL

*

  • 创建结构实体,并赋予默认值

func (IgnoreURL) SetDefault

func (iu IgnoreURL) SetDefault()

*

  • 设置默认值

func (IgnoreURL) TableName

func (iu IgnoreURL) TableName() string

*

  • 结构体映射表名,处理结构体名称与表名不一致的情况

type IgnoreURLBase

type IgnoreURLBase struct {
	GsId string `` //记录编号
	/* 393-byte string literal not displayed */
	GsUrlName string `` //路径名称类别
	/* 403-byte string literal not displayed */
	GsIgnoreUrl string `` //路径集合
	/* 405-byte string literal not displayed */
	GiMustLogin int `` //必须登录(布尔值,1:是;2:否)
	/* 429-byte string literal not displayed */
	GsOnlyUserType string `` //限用户类型(分号分隔)
	/* 419-byte string literal not displayed */
	GsMemo string `` //备注
	/* 372-byte string literal not displayed */
	GsCreator string `` //创建者
	/* 421-byte string literal not displayed */
	GdCreateDate time.Time `` //创建时间
	/* 408-byte string literal not displayed */
	GsModifieder string `` //修改人
	/* 430-byte string literal not displayed */
	GdModifiedDate time.Time `` //修改时间
	/* 414-byte string literal not displayed */
	GiState int `` //版本
	/* 389-byte string literal not displayed */
	GiIndex int `` //序号
	/* 389-byte string literal not displayed */
	GiVersion int `` //版本号
	/* 398-byte string literal not displayed */
}

*

  • 拦截器忽略路径'IgnoreURL'表结构体
  • 警告:非数据库字段禁止在此添加,应该创建扩展结构体中添加
  • @author HuangXinBian

func (IgnoreURLBase) BaseColumnNames

func (IgnoreURLBase) BaseColumnNames() []string

*

  • 结构体映射表的字段名集合

func (IgnoreURLBase) BaseEntity

func (obj IgnoreURLBase) BaseEntity() IgnoreURLBase

func (IgnoreURLBase) Info

func (IgnoreURLBase) Info() *TableInfo

*

  • 结构体映射表简化信息

func (IgnoreURLBase) New

*

  • 创建结构实体,并赋予默认值

func (*IgnoreURLBase) SetDefault

func (iu *IgnoreURLBase) SetDefault()

*

  • 设置默认值

func (IgnoreURLBase) TableName

func (IgnoreURLBase) TableName() string

*

  • 结构体映射表名,处理结构体名称与表名不一致的情况

Jump to

Keyboard shortcuts

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