entity

package module
v0.0.0-...-9118607 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TableKeyLocalBase_tableName = ""
	TableKeyLocalBase_dbName    = ""
)

Functions

This section is empty.

Types

type TableKeyLocal

type TableKeyLocal struct {
	TableKeyLocalBase
}

*

  • 记录编号序列管理表'TableKeyLocal'表结构体
  • 警告:非数据库字段禁止在此添加,应该创建扩展结构体中添加
  • @author HuangXinBian

func (TableKeyLocal) Info

func (o TableKeyLocal) Info() *model.TableInfo

*

  • 结构体映射表简化信息

func (TableKeyLocal) New

*

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

func (TableKeyLocal) SetDefault

func (o TableKeyLocal) SetDefault()

*

  • 设置默认值

func (TableKeyLocal) TableName

func (o TableKeyLocal) TableName() string

*

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

type TableKeyLocalBase

type TableKeyLocalBase struct {
	GiId int64 `` //记录编号(非自增长)
	/* 431-byte string literal not displayed */
	GsType string `` //类型
	/* 396-byte string literal not displayed */
	GsValue string `` //值
	/* 396-byte string literal not displayed */
	GiIndex int `` //序号
	/* 391-byte string literal not displayed */
	GiVersion int `` //版本号
	/* 411-byte string literal not displayed */
}

*

  • 记录编号序列管理表'TableKeyLocal'表结构体
  • 警告:非数据库字段禁止在此添加,应该创建扩展结构体中添加
  • @author HuangXinBian

func (TableKeyLocalBase) BaseColumnNames

func (TableKeyLocalBase) BaseColumnNames() []string

*

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

func (TableKeyLocalBase) Info

*

  • 结构体映射表简化信息

func (TableKeyLocalBase) New

*

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

func (*TableKeyLocalBase) SetDefault

func (o *TableKeyLocalBase) SetDefault()

*

  • 设置默认值

func (TableKeyLocalBase) TableName

func (TableKeyLocalBase) TableName() string

*

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

Jump to

Keyboard shortcuts

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