internal

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SysAnnouncementColumns added in v0.8.23

type SysAnnouncementColumns struct {
	Id            string //
	Title         string // 公告标题
	UnionMainId   string // 发布主体,0值则代表平台发布的公告
	PublicAt      string // 公示时间,只有到了公示时间用户才可见
	Body          string // 公告正文
	UserTypeScope string // 受众用户类型:0则所有,复合类型
	ExpireAt      string // 过期时间,过期后前端用户不可见
	State         string // 状态:1草稿、2待发布、4已发布、8已过期、16已撤销
	CreatedAt     string //
	UpdatedAt     string //
	CreatedBy     string // 创建用户
	UpdatedBy     string // 最后修改用户
	DeletedAt     string //
	DeletedBy     string //
	ExtDataJson   string // 扩展json数据
}

SysAnnouncementColumns defines and stores column names for table sys_announcement.

type SysAnnouncementDao added in v0.8.23

type SysAnnouncementDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysAnnouncementDao is the data access object for table sys_announcement.

func NewSysAnnouncementDao added in v0.8.23

func NewSysAnnouncementDao(proxy ...dao_interface.IDao) *SysAnnouncementDao

NewSysAnnouncementDao creates and returns a new DAO object for table data access.

func (*SysAnnouncementDao) Columns added in v0.8.23

Columns returns all column names of current dao.

func (*SysAnnouncementDao) Ctx added in v0.8.23

func (dao *SysAnnouncementDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysAnnouncementDao) DB added in v0.8.23

func (dao *SysAnnouncementDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysAnnouncementDao) DaoConfig added in v0.8.23

func (dao *SysAnnouncementDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysAnnouncementDao) GetExtWhereKeys added in v0.8.23

func (dao *SysAnnouncementDao) GetExtWhereKeys() []string

func (*SysAnnouncementDao) Group added in v0.8.23

func (dao *SysAnnouncementDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysAnnouncementDao) IgnoreCache added in v0.8.23

func (dao *SysAnnouncementDao) IgnoreCache() dao_interface.IDao

func (*SysAnnouncementDao) IgnoreExtModel added in v0.8.23

func (dao *SysAnnouncementDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysAnnouncementDao) IsIgnoreCache added in v0.8.23

func (dao *SysAnnouncementDao) IsIgnoreCache() bool

func (*SysAnnouncementDao) Table added in v0.8.23

func (dao *SysAnnouncementDao) Table() string

Table returns the table name of current dao.

func (*SysAnnouncementDao) Transaction added in v0.8.23

func (dao *SysAnnouncementDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysAnnouncementReadUserColumns added in v0.8.23

type SysAnnouncementReadUserColumns struct {
	Id                 string // ID
	UserId             string // 用户ID
	ReadAnnouncementId string // 用户已阅读的公告id
	ReadAt             string // 用户阅读时间
	ExtDataJson        string // 扩展数据Json,由业务端决定用途
	FlagRead           string // 标记已读,0未读,1已读,用户首次打开公告即标记已读,可手动标记未读,但read_at 数据不变,下次点开时更新阅读时间,并标记已读
}

SysAnnouncementReadUserColumns defines and stores column names for table sys_announcement_read_user.

type SysAnnouncementReadUserDao added in v0.8.23

type SysAnnouncementReadUserDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysAnnouncementReadUserDao is the data access object for table sys_announcement_read_user.

func NewSysAnnouncementReadUserDao added in v0.8.23

func NewSysAnnouncementReadUserDao(proxy ...dao_interface.IDao) *SysAnnouncementReadUserDao

NewSysAnnouncementReadUserDao creates and returns a new DAO object for table data access.

func (*SysAnnouncementReadUserDao) Columns added in v0.8.23

Columns returns all column names of current dao.

func (*SysAnnouncementReadUserDao) Ctx added in v0.8.23

func (dao *SysAnnouncementReadUserDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysAnnouncementReadUserDao) DB added in v0.8.23

func (dao *SysAnnouncementReadUserDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysAnnouncementReadUserDao) DaoConfig added in v0.8.23

func (dao *SysAnnouncementReadUserDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysAnnouncementReadUserDao) GetExtWhereKeys added in v0.8.23

func (dao *SysAnnouncementReadUserDao) GetExtWhereKeys() []string

func (*SysAnnouncementReadUserDao) Group added in v0.8.23

func (dao *SysAnnouncementReadUserDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysAnnouncementReadUserDao) IgnoreCache added in v0.8.23

func (dao *SysAnnouncementReadUserDao) IgnoreCache() dao_interface.IDao

func (*SysAnnouncementReadUserDao) IgnoreExtModel added in v0.8.23

func (dao *SysAnnouncementReadUserDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysAnnouncementReadUserDao) IsIgnoreCache added in v0.8.23

func (dao *SysAnnouncementReadUserDao) IsIgnoreCache() bool

func (*SysAnnouncementReadUserDao) Table added in v0.8.23

func (dao *SysAnnouncementReadUserDao) Table() string

Table returns the table name of current dao.

func (*SysAnnouncementReadUserDao) Transaction added in v0.8.23

func (dao *SysAnnouncementReadUserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysAreaColumns

type SysAreaColumns struct {
	Id            string // ID
	AreaCode      string // 地区编码
	AreaName      string // 地区名称
	Level         string // 1街道street、2区县district、4市city、8省份province、16大区region、32全国nation
	CityCode      string // 城市编码
	LongLatCenter string // 城市中心点(即经纬度)
	ParentId      string // 地区父节点
	PinYin        string // 地区拼音
}

SysAreaColumns defines and stores column names for table sys_area.

type SysAreaDao

type SysAreaDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysAreaDao is the data access object for table sys_area.

func NewSysAreaDao

func NewSysAreaDao(proxy ...dao_interface.IDao) *SysAreaDao

NewSysAreaDao creates and returns a new DAO object for table data access.

func (*SysAreaDao) Columns

func (dao *SysAreaDao) Columns() SysAreaColumns

Columns returns all column names of current dao.

func (*SysAreaDao) Ctx

func (dao *SysAreaDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysAreaDao) DB

func (dao *SysAreaDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysAreaDao) DaoConfig

func (dao *SysAreaDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysAreaDao) GetExtWhereKeys added in v0.7.22

func (dao *SysAreaDao) GetExtWhereKeys() []string

func (*SysAreaDao) Group

func (dao *SysAreaDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysAreaDao) IgnoreCache added in v0.7.22

func (dao *SysAreaDao) IgnoreCache() dao_interface.IDao

func (*SysAreaDao) IgnoreExtModel added in v0.7.22

func (dao *SysAreaDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysAreaDao) IsIgnoreCache added in v0.7.22

func (dao *SysAreaDao) IsIgnoreCache() bool

func (*SysAreaDao) Table

func (dao *SysAreaDao) Table() string

Table returns the table name of current dao.

func (*SysAreaDao) Transaction

func (dao *SysAreaDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysAuditColumns

type SysAuditColumns struct {
	Id             string //
	State          string // 审核状态:-1不通过,0待审核,1通过
	Reply          string // 不通过时回复的审核不通过原因
	UnionMainId    string // 关联主体ID
	Category       string // 业务类别:1个人资质审核、2主体资质审核、4数据审核
	AuditData      string // 待审核的业务数据包
	ExpireAt       string // 服务时限
	AuditReplyAt   string // 审核回复时间
	HistoryItems   string // 历史申请记录
	CreatedAt      string //
	AuditUserId    string // 审核操作者id
	DataIdentifier string // 数据标识
	UserId         string // 关联用户ID
	Summary        string // 概述
}

SysAuditColumns defines and stores column names for table sys_audit.

type SysAuditDao

type SysAuditDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysAuditDao is the data access object for table sys_audit.

func NewSysAuditDao

func NewSysAuditDao(proxy ...dao_interface.IDao) *SysAuditDao

NewSysAuditDao creates and returns a new DAO object for table data access.

func (*SysAuditDao) Columns

func (dao *SysAuditDao) Columns() SysAuditColumns

Columns returns all column names of current dao.

func (*SysAuditDao) Ctx

func (dao *SysAuditDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysAuditDao) DB

func (dao *SysAuditDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysAuditDao) DaoConfig

func (dao *SysAuditDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysAuditDao) GetExtWhereKeys added in v0.7.22

func (dao *SysAuditDao) GetExtWhereKeys() []string

func (*SysAuditDao) Group

func (dao *SysAuditDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysAuditDao) IgnoreCache added in v0.7.22

func (dao *SysAuditDao) IgnoreCache() dao_interface.IDao

func (*SysAuditDao) IgnoreExtModel added in v0.7.22

func (dao *SysAuditDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysAuditDao) IsIgnoreCache added in v0.7.22

func (dao *SysAuditDao) IsIgnoreCache() bool

func (*SysAuditDao) Table

func (dao *SysAuditDao) Table() string

Table returns the table name of current dao.

func (*SysAuditDao) Transaction

func (dao *SysAuditDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysCasbinColumns

type SysCasbinColumns struct {
	Ptype string //
	V0    string //
	V1    string //
	V2    string //
	V3    string //
	V4    string //
	V5    string //
}

SysCasbinColumns defines and stores column names for table sys_casbin.

type SysCasbinDao

type SysCasbinDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysCasbinDao is the data access object for table sys_casbin.

func NewSysCasbinDao

func NewSysCasbinDao(proxy ...dao_interface.IDao) *SysCasbinDao

NewSysCasbinDao creates and returns a new DAO object for table data access.

func (*SysCasbinDao) Columns

func (dao *SysCasbinDao) Columns() SysCasbinColumns

Columns returns all column names of current dao.

func (*SysCasbinDao) Ctx

func (dao *SysCasbinDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysCasbinDao) DB

func (dao *SysCasbinDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysCasbinDao) DaoConfig

func (dao *SysCasbinDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysCasbinDao) GetExtWhereKeys added in v0.7.22

func (dao *SysCasbinDao) GetExtWhereKeys() []string

func (*SysCasbinDao) Group

func (dao *SysCasbinDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysCasbinDao) IgnoreCache added in v0.7.22

func (dao *SysCasbinDao) IgnoreCache() dao_interface.IDao

func (*SysCasbinDao) IgnoreExtModel added in v0.7.22

func (dao *SysCasbinDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysCasbinDao) IsIgnoreCache added in v0.7.22

func (dao *SysCasbinDao) IsIgnoreCache() bool

func (*SysCasbinDao) Table

func (dao *SysCasbinDao) Table() string

Table returns the table name of current dao.

func (*SysCasbinDao) Transaction

func (dao *SysCasbinDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysCategoryColumns added in v0.8.29

type SysCategoryColumns struct {
	Id          string //
	Name        string // 名称
	ParentId    string // 父级ID
	PicturePath string // 分类图片
	Hidden      string // 是否隐藏
	Sort        string // 顺序
	UnionMainId string // 关联主体ID(保留字段)
}

SysCategoryColumns defines and stores column names for table sys_category.

type SysCategoryDao added in v0.8.29

type SysCategoryDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysCategoryDao is the data access object for table sys_category.

func NewSysCategoryDao added in v0.8.29

func NewSysCategoryDao(proxy ...dao_interface.IDao) *SysCategoryDao

NewSysCategoryDao creates and returns a new DAO object for table data access.

func (*SysCategoryDao) Columns added in v0.8.29

func (dao *SysCategoryDao) Columns() SysCategoryColumns

Columns returns all column names of current dao.

func (*SysCategoryDao) Ctx added in v0.8.29

func (dao *SysCategoryDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysCategoryDao) DB added in v0.8.29

func (dao *SysCategoryDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysCategoryDao) DaoConfig added in v0.8.29

func (dao *SysCategoryDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysCategoryDao) GetExtWhereKeys added in v0.8.29

func (dao *SysCategoryDao) GetExtWhereKeys() []string

func (*SysCategoryDao) Group added in v0.8.29

func (dao *SysCategoryDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysCategoryDao) IgnoreCache added in v0.8.29

func (dao *SysCategoryDao) IgnoreCache() dao_interface.IDao

func (*SysCategoryDao) IgnoreExtModel added in v0.8.29

func (dao *SysCategoryDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysCategoryDao) IsIgnoreCache added in v0.8.29

func (dao *SysCategoryDao) IsIgnoreCache() bool

func (*SysCategoryDao) Table added in v0.8.29

func (dao *SysCategoryDao) Table() string

Table returns the table name of current dao.

func (*SysCategoryDao) Transaction added in v0.8.29

func (dao *SysCategoryDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysConfigColumns

type SysConfigColumns struct {
	Name      string // 配置名称
	Value     string // 配置信息
	CreatedAt string //
	UpdatedAt string //
}

SysConfigColumns defines and stores column names for table sys_config.

type SysConfigDao

type SysConfigDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysConfigDao is the data access object for table sys_config.

func NewSysConfigDao

func NewSysConfigDao(proxy ...dao_interface.IDao) *SysConfigDao

NewSysConfigDao creates and returns a new DAO object for table data access.

func (*SysConfigDao) Columns

func (dao *SysConfigDao) Columns() SysConfigColumns

Columns returns all column names of current dao.

func (*SysConfigDao) Ctx

func (dao *SysConfigDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysConfigDao) DB

func (dao *SysConfigDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysConfigDao) DaoConfig

func (dao *SysConfigDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysConfigDao) GetExtWhereKeys added in v0.7.22

func (dao *SysConfigDao) GetExtWhereKeys() []string

func (*SysConfigDao) Group

func (dao *SysConfigDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysConfigDao) IgnoreCache added in v0.7.22

func (dao *SysConfigDao) IgnoreCache() dao_interface.IDao

func (*SysConfigDao) IgnoreExtModel added in v0.7.22

func (dao *SysConfigDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysConfigDao) IsIgnoreCache added in v0.7.22

func (dao *SysConfigDao) IsIgnoreCache() bool

func (*SysConfigDao) Table

func (dao *SysConfigDao) Table() string

Table returns the table name of current dao.

func (*SysConfigDao) Transaction

func (dao *SysConfigDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysFileColumns

type SysFileColumns struct {
	Id             string // 自增ID
	Name           string // 文件名称
	Src            string // 存储路径
	Url            string // URL地址
	Ext            string // 扩展名
	Size           string // 文件大小
	Category       string // 文件分类
	UserId         string // 用户ID
	UnionMainId    string // 关联主体ID
	CreatedAt      string //
	UpdatedAt      string //
	LocalPath      string // 本地路径
	AllowAnonymous string // 是否允许匿名
}

SysFileColumns defines and stores column names for table sys_file.

type SysFileDao

type SysFileDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysFileDao is the data access object for table sys_file.

func NewSysFileDao

func NewSysFileDao(proxy ...dao_interface.IDao) *SysFileDao

NewSysFileDao creates and returns a new DAO object for table data access.

func (*SysFileDao) Columns

func (dao *SysFileDao) Columns() SysFileColumns

Columns returns all column names of current dao.

func (*SysFileDao) Ctx

func (dao *SysFileDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysFileDao) DB

func (dao *SysFileDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysFileDao) DaoConfig

func (dao *SysFileDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysFileDao) GetExtWhereKeys added in v0.7.22

func (dao *SysFileDao) GetExtWhereKeys() []string

func (*SysFileDao) Group

func (dao *SysFileDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysFileDao) IgnoreCache added in v0.7.22

func (dao *SysFileDao) IgnoreCache() dao_interface.IDao

func (*SysFileDao) IgnoreExtModel added in v0.7.22

func (dao *SysFileDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysFileDao) IsIgnoreCache added in v0.7.22

func (dao *SysFileDao) IsIgnoreCache() bool

func (*SysFileDao) Table

func (dao *SysFileDao) Table() string

Table returns the table name of current dao.

func (*SysFileDao) Transaction

func (dao *SysFileDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysFrontSettingsColumns added in v0.8.17

type SysFrontSettingsColumns struct {
	Name        string // 配置名称
	Values      string // 配置信息JSON格式
	Desc        string // 描述
	UnionMainId string // 关联的主体id,为0代表是平台配置
	UserId      string // 关联的用户id,为0代表平台配置
	CreatedAt   string //
	UpdatedAt   string //
	Version     string // 版本
	Sys         string // 1除主体管理员外,主体下的其他用户仅有只读权限,(默认0)
}

SysFrontSettingsColumns defines and stores column names for table sys_front_settings.

type SysFrontSettingsDao added in v0.8.17

type SysFrontSettingsDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysFrontSettingsDao is the data access object for table sys_front_settings.

func NewSysFrontSettingsDao added in v0.8.17

func NewSysFrontSettingsDao(proxy ...dao_interface.IDao) *SysFrontSettingsDao

NewSysFrontSettingsDao creates and returns a new DAO object for table data access.

func (*SysFrontSettingsDao) Columns added in v0.8.17

Columns returns all column names of current dao.

func (*SysFrontSettingsDao) Ctx added in v0.8.17

func (dao *SysFrontSettingsDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysFrontSettingsDao) DB added in v0.8.17

func (dao *SysFrontSettingsDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysFrontSettingsDao) DaoConfig added in v0.8.17

func (dao *SysFrontSettingsDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysFrontSettingsDao) GetExtWhereKeys added in v0.8.17

func (dao *SysFrontSettingsDao) GetExtWhereKeys() []string

func (*SysFrontSettingsDao) Group added in v0.8.17

func (dao *SysFrontSettingsDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysFrontSettingsDao) IgnoreCache added in v0.8.17

func (dao *SysFrontSettingsDao) IgnoreCache() dao_interface.IDao

func (*SysFrontSettingsDao) IgnoreExtModel added in v0.8.17

func (dao *SysFrontSettingsDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysFrontSettingsDao) IsIgnoreCache added in v0.8.17

func (dao *SysFrontSettingsDao) IsIgnoreCache() bool

func (*SysFrontSettingsDao) Table added in v0.8.17

func (dao *SysFrontSettingsDao) Table() string

Table returns the table name of current dao.

func (*SysFrontSettingsDao) Transaction added in v0.8.17

func (dao *SysFrontSettingsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysIndustryColumns added in v0.7.0

type SysIndustryColumns struct {
	Id           string // ID
	CategoryId   string // 行业ID
	CategoryName string // 行业名称
	CategoryDesc string // 行业描述
	Rate         string // 费率
	ParentId     string // 父级ID
	Sort         string // 排序
	State        string // 状态:0隐藏,1显示
	CreatedAt    string //
	UpdatedAt    string //
	DeletedAt    string //
}

SysIndustryColumns defines and stores column names for table sys_industry.

type SysIndustryDao added in v0.7.0

type SysIndustryDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysIndustryDao is the data access object for table sys_industry.

func NewSysIndustryDao added in v0.7.0

func NewSysIndustryDao(proxy ...dao_interface.IDao) *SysIndustryDao

NewSysIndustryDao creates and returns a new DAO object for table data access.

func (*SysIndustryDao) Columns added in v0.7.0

func (dao *SysIndustryDao) Columns() SysIndustryColumns

Columns returns all column names of current dao.

func (*SysIndustryDao) Ctx added in v0.7.0

func (dao *SysIndustryDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysIndustryDao) DB added in v0.7.0

func (dao *SysIndustryDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysIndustryDao) DaoConfig added in v0.7.0

func (dao *SysIndustryDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysIndustryDao) GetExtWhereKeys added in v0.7.22

func (dao *SysIndustryDao) GetExtWhereKeys() []string

func (*SysIndustryDao) Group added in v0.7.0

func (dao *SysIndustryDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysIndustryDao) IgnoreCache added in v0.7.22

func (dao *SysIndustryDao) IgnoreCache() dao_interface.IDao

func (*SysIndustryDao) IgnoreExtModel added in v0.7.22

func (dao *SysIndustryDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysIndustryDao) IsIgnoreCache added in v0.7.22

func (dao *SysIndustryDao) IsIgnoreCache() bool

func (*SysIndustryDao) Table added in v0.7.0

func (dao *SysIndustryDao) Table() string

Table returns the table name of current dao.

func (*SysIndustryDao) Transaction added in v0.7.0

func (dao *SysIndustryDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysInviteColumns added in v0.5.7

type SysInviteColumns struct {
	Id             string // ID
	UserId         string // 用户ID, 也就是邀约人ID
	Value          string // 邀约码背后的关联业务Json数据,
	ExpireAt       string // 邀约码的过期失效
	ActivateNumber string // 邀约码的激活次数限制
	State          string // 状态: 0失效、1正常
	Type           string // 类型: 1注册、2加入团队、4加入角色 (复合类型)
	CreatedAt      string //
}

SysInviteColumns defines and stores column names for table sys_invite.

type SysInviteDao added in v0.5.7

type SysInviteDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysInviteDao is the data access object for table sys_invite.

func NewSysInviteDao added in v0.5.7

func NewSysInviteDao(proxy ...dao_interface.IDao) *SysInviteDao

NewSysInviteDao creates and returns a new DAO object for table data access.

func (*SysInviteDao) Columns added in v0.5.7

func (dao *SysInviteDao) Columns() SysInviteColumns

Columns returns all column names of current dao.

func (*SysInviteDao) Ctx added in v0.5.7

func (dao *SysInviteDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysInviteDao) DB added in v0.5.7

func (dao *SysInviteDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysInviteDao) DaoConfig added in v0.5.7

func (dao *SysInviteDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysInviteDao) GetExtWhereKeys added in v0.7.22

func (dao *SysInviteDao) GetExtWhereKeys() []string

func (*SysInviteDao) Group added in v0.5.7

func (dao *SysInviteDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysInviteDao) IgnoreCache added in v0.7.22

func (dao *SysInviteDao) IgnoreCache() dao_interface.IDao

func (*SysInviteDao) IgnoreExtModel added in v0.7.22

func (dao *SysInviteDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysInviteDao) IsIgnoreCache added in v0.7.22

func (dao *SysInviteDao) IsIgnoreCache() bool

func (*SysInviteDao) Table added in v0.5.7

func (dao *SysInviteDao) Table() string

Table returns the table name of current dao.

func (*SysInviteDao) Transaction added in v0.5.7

func (dao *SysInviteDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysLogsColumns

type SysLogsColumns struct {
	Id        string // ID
	UserId    string // 用户UID
	Error     string // 错误信息
	Category  string // 分类
	Level     string // 等级
	Content   string // 日志内容
	Context   string // 上下文数据
	CreatedAt string //
	UpdatedAt string //
}

SysLogsColumns defines and stores column names for table sys_logs.

type SysLogsDao

type SysLogsDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysLogsDao is the data access object for table sys_logs.

func NewSysLogsDao

func NewSysLogsDao(proxy ...dao_interface.IDao) *SysLogsDao

NewSysLogsDao creates and returns a new DAO object for table data access.

func (*SysLogsDao) Columns

func (dao *SysLogsDao) Columns() SysLogsColumns

Columns returns all column names of current dao.

func (*SysLogsDao) Ctx

func (dao *SysLogsDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysLogsDao) DB

func (dao *SysLogsDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysLogsDao) DaoConfig

func (dao *SysLogsDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysLogsDao) GetExtWhereKeys added in v0.7.22

func (dao *SysLogsDao) GetExtWhereKeys() []string

func (*SysLogsDao) Group

func (dao *SysLogsDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysLogsDao) IgnoreCache added in v0.7.22

func (dao *SysLogsDao) IgnoreCache() dao_interface.IDao

func (*SysLogsDao) IgnoreExtModel added in v0.7.22

func (dao *SysLogsDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysLogsDao) IsIgnoreCache added in v0.7.22

func (dao *SysLogsDao) IsIgnoreCache() bool

func (*SysLogsDao) Table

func (dao *SysLogsDao) Table() string

Table returns the table name of current dao.

func (*SysLogsDao) Transaction

func (dao *SysLogsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysMemberLevelColumns added in v0.8.20

type SysMemberLevelColumns struct {
	Id          string // ID
	Name        string // 名称
	Desc        string // 描述
	Identifier  string // 级别标识符
	CreatedAt   string //
	UpdatedAt   string //
	CreatedBy   string //
	UnionMainId string //
}

SysMemberLevelColumns defines and stores column names for table sys_member_level.

type SysMemberLevelDao added in v0.8.20

type SysMemberLevelDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysMemberLevelDao is the data access object for table sys_member_level.

func NewSysMemberLevelDao added in v0.8.20

func NewSysMemberLevelDao(proxy ...dao_interface.IDao) *SysMemberLevelDao

NewSysMemberLevelDao creates and returns a new DAO object for table data access.

func (*SysMemberLevelDao) Columns added in v0.8.20

Columns returns all column names of current dao.

func (*SysMemberLevelDao) Ctx added in v0.8.20

func (dao *SysMemberLevelDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysMemberLevelDao) DB added in v0.8.20

func (dao *SysMemberLevelDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysMemberLevelDao) DaoConfig added in v0.8.20

func (dao *SysMemberLevelDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysMemberLevelDao) GetExtWhereKeys added in v0.8.20

func (dao *SysMemberLevelDao) GetExtWhereKeys() []string

func (*SysMemberLevelDao) Group added in v0.8.20

func (dao *SysMemberLevelDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysMemberLevelDao) IgnoreCache added in v0.8.20

func (dao *SysMemberLevelDao) IgnoreCache() dao_interface.IDao

func (*SysMemberLevelDao) IgnoreExtModel added in v0.8.20

func (dao *SysMemberLevelDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysMemberLevelDao) IsIgnoreCache added in v0.8.20

func (dao *SysMemberLevelDao) IsIgnoreCache() bool

func (*SysMemberLevelDao) Table added in v0.8.20

func (dao *SysMemberLevelDao) Table() string

Table returns the table name of current dao.

func (*SysMemberLevelDao) Transaction added in v0.8.20

func (dao *SysMemberLevelDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysMemberLevelUserColumns added in v0.8.20

type SysMemberLevelUserColumns struct {
	Id               string // ID
	UserId           string // 用户ID
	ExtMemberLevelId string // 会员级别
	UnionMainId      string // 保留字段
}

SysMemberLevelUserColumns defines and stores column names for table sys_member_level_user.

type SysMemberLevelUserDao added in v0.8.20

type SysMemberLevelUserDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysMemberLevelUserDao is the data access object for table sys_member_level_user.

func NewSysMemberLevelUserDao added in v0.8.20

func NewSysMemberLevelUserDao(proxy ...dao_interface.IDao) *SysMemberLevelUserDao

NewSysMemberLevelUserDao creates and returns a new DAO object for table data access.

func (*SysMemberLevelUserDao) Columns added in v0.8.20

Columns returns all column names of current dao.

func (*SysMemberLevelUserDao) Ctx added in v0.8.20

func (dao *SysMemberLevelUserDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysMemberLevelUserDao) DB added in v0.8.20

func (dao *SysMemberLevelUserDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysMemberLevelUserDao) DaoConfig added in v0.8.20

func (dao *SysMemberLevelUserDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysMemberLevelUserDao) GetExtWhereKeys added in v0.8.20

func (dao *SysMemberLevelUserDao) GetExtWhereKeys() []string

func (*SysMemberLevelUserDao) Group added in v0.8.20

func (dao *SysMemberLevelUserDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysMemberLevelUserDao) IgnoreCache added in v0.8.20

func (dao *SysMemberLevelUserDao) IgnoreCache() dao_interface.IDao

func (*SysMemberLevelUserDao) IgnoreExtModel added in v0.8.20

func (dao *SysMemberLevelUserDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysMemberLevelUserDao) IsIgnoreCache added in v0.8.20

func (dao *SysMemberLevelUserDao) IsIgnoreCache() bool

func (*SysMemberLevelUserDao) Table added in v0.8.20

func (dao *SysMemberLevelUserDao) Table() string

Table returns the table name of current dao.

func (*SysMemberLevelUserDao) Transaction added in v0.8.20

func (dao *SysMemberLevelUserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysMenuColumns

type SysMenuColumns struct {
	Id                   string // ID
	Path                 string // 路径
	Name                 string // 名称
	Redirect             string // 跳转
	Title                string // 标题
	Icon                 string // 图标
	Component            string // 组件
	ParentId             string // 所属父级
	Sort                 string // 排序
	State                string // 状态:0隐藏,1显示
	Description          string // 描述
	CreatedAt            string //
	UpdatedAt            string //
	IconUrl              string // 图标URL
	RedirectType         string // 跳转类型:1当前页面打开、 2新的标签页打开
	Type                 string // 类型:1菜单、2按钮
	DepPermissionIds     string // 依赖权限Ids
	LimitHiddenRoleIds   string // 限定不可见的角色
	LimitHiddenUserIds   string // 限定不可见的用户
	LimitHiddenUserTypes string // 限定不可见的用户类型
}

SysMenuColumns defines and stores column names for table sys_menu.

type SysMenuDao

type SysMenuDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysMenuDao is the data access object for table sys_menu.

func NewSysMenuDao

func NewSysMenuDao(proxy ...dao_interface.IDao) *SysMenuDao

NewSysMenuDao creates and returns a new DAO object for table data access.

func (*SysMenuDao) Columns

func (dao *SysMenuDao) Columns() SysMenuColumns

Columns returns all column names of current dao.

func (*SysMenuDao) Ctx

func (dao *SysMenuDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysMenuDao) DB

func (dao *SysMenuDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysMenuDao) DaoConfig

func (dao *SysMenuDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysMenuDao) GetExtWhereKeys added in v0.7.22

func (dao *SysMenuDao) GetExtWhereKeys() []string

func (*SysMenuDao) Group

func (dao *SysMenuDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysMenuDao) IgnoreCache added in v0.7.22

func (dao *SysMenuDao) IgnoreCache() dao_interface.IDao

func (*SysMenuDao) IgnoreExtModel added in v0.7.22

func (dao *SysMenuDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysMenuDao) IsIgnoreCache added in v0.7.22

func (dao *SysMenuDao) IsIgnoreCache() bool

func (*SysMenuDao) Table

func (dao *SysMenuDao) Table() string

Table returns the table name of current dao.

func (*SysMenuDao) Transaction

func (dao *SysMenuDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysMessageColumns added in v0.7.2

type SysMessageColumns struct {
	Id             string // ID
	Title          string // 标题
	Summary        string // 摘要
	Content        string // 内容
	Type           string // 消息类型
	Link           string // 跳转链接
	ToUserIds      string // 接收者UserIds,允许有多个接收者
	ToUserType     string // 接收者类型用户类型,和UserType保持一致
	FromUserId     string // 发送者ID,为-1代表系统消息
	FromUserType   string // 发送者类型
	SendAt         string // 发送时间
	ExtJson        string // 拓展数据Json
	ReadUserIds    string // 已读用户UserIds
	DataIdentifier string // 关联的数据标识
	CreatedAt      string //
	UpdatedAt      string //
	DeletedAt      string //
	SceneDesc      string // 场景描述
	SceneType      string // 场景类型【业务层自定义】例如:1活动即将开始提醒、2活动开始提醒、3活动即将结束提醒、4活动结束提醒、5活动获奖提醒、6券即将生效提醒、7券的生效提醒、8券的失效提醒、9券即将失效提醒、10券核销提醒、8192系统通知、
}

SysMessageColumns defines and stores column names for table sys_message.

type SysMessageDao added in v0.7.2

type SysMessageDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysMessageDao is the data access object for table sys_message.

func NewSysMessageDao added in v0.7.2

func NewSysMessageDao(proxy ...dao_interface.IDao) *SysMessageDao

NewSysMessageDao creates and returns a new DAO object for table data access.

func (*SysMessageDao) Columns added in v0.7.2

func (dao *SysMessageDao) Columns() SysMessageColumns

Columns returns all column names of current dao.

func (*SysMessageDao) Ctx added in v0.7.2

func (dao *SysMessageDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysMessageDao) DB added in v0.7.2

func (dao *SysMessageDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysMessageDao) DaoConfig added in v0.7.2

func (dao *SysMessageDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysMessageDao) GetExtWhereKeys added in v0.7.22

func (dao *SysMessageDao) GetExtWhereKeys() []string

func (*SysMessageDao) Group added in v0.7.2

func (dao *SysMessageDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysMessageDao) IgnoreCache added in v0.7.22

func (dao *SysMessageDao) IgnoreCache() dao_interface.IDao

func (*SysMessageDao) IgnoreExtModel added in v0.7.22

func (dao *SysMessageDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysMessageDao) IsIgnoreCache added in v0.7.22

func (dao *SysMessageDao) IsIgnoreCache() bool

func (*SysMessageDao) Table added in v0.7.2

func (dao *SysMessageDao) Table() string

Table returns the table name of current dao.

func (*SysMessageDao) Transaction added in v0.7.2

func (dao *SysMessageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysOrganizationColumns

type SysOrganizationColumns struct {
	Id          string //
	Name        string // 名称
	ParentId    string // 父级ID
	CascadeDeep string // 级联深度
	Description string // 描述
}

SysOrganizationColumns defines and stores column names for table sys_organization.

type SysOrganizationDao

type SysOrganizationDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysOrganizationDao is the data access object for table sys_organization.

func NewSysOrganizationDao

func NewSysOrganizationDao(proxy ...dao_interface.IDao) *SysOrganizationDao

NewSysOrganizationDao creates and returns a new DAO object for table data access.

func (*SysOrganizationDao) Columns

Columns returns all column names of current dao.

func (*SysOrganizationDao) Ctx

func (dao *SysOrganizationDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysOrganizationDao) DB

func (dao *SysOrganizationDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysOrganizationDao) DaoConfig

func (dao *SysOrganizationDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysOrganizationDao) GetExtWhereKeys added in v0.7.22

func (dao *SysOrganizationDao) GetExtWhereKeys() []string

func (*SysOrganizationDao) Group

func (dao *SysOrganizationDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysOrganizationDao) IgnoreCache added in v0.7.22

func (dao *SysOrganizationDao) IgnoreCache() dao_interface.IDao

func (*SysOrganizationDao) IgnoreExtModel added in v0.7.22

func (dao *SysOrganizationDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysOrganizationDao) IsIgnoreCache added in v0.7.22

func (dao *SysOrganizationDao) IsIgnoreCache() bool

func (*SysOrganizationDao) Table

func (dao *SysOrganizationDao) Table() string

Table returns the table name of current dao.

func (*SysOrganizationDao) Transaction

func (dao *SysOrganizationDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysPermissionColumns

type SysPermissionColumns struct {
	Id          string // ID
	ParentId    string // 父级ID
	Name        string // 名称
	Description string // 描述
	Identifier  string // 标识符
	Type        string // 类型:1api,2menu
	MatchMode   string // 匹配模式:ID:0,标识符:1
	IsShow      string // 是否显示:0不显示 1显示
	Sort        string // 排序
	CreatedAt   string //
	UpdatedAt   string //
}

SysPermissionColumns defines and stores column names for table sys_permission.

type SysPermissionDao

type SysPermissionDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysPermissionDao is the data access object for table sys_permission.

func NewSysPermissionDao

func NewSysPermissionDao(proxy ...dao_interface.IDao) *SysPermissionDao

NewSysPermissionDao creates and returns a new DAO object for table data access.

func (*SysPermissionDao) Columns

func (dao *SysPermissionDao) Columns() SysPermissionColumns

Columns returns all column names of current dao.

func (*SysPermissionDao) Ctx

func (dao *SysPermissionDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysPermissionDao) DB

func (dao *SysPermissionDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysPermissionDao) DaoConfig

func (dao *SysPermissionDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysPermissionDao) GetExtWhereKeys added in v0.7.22

func (dao *SysPermissionDao) GetExtWhereKeys() []string

func (*SysPermissionDao) Group

func (dao *SysPermissionDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysPermissionDao) IgnoreCache added in v0.7.22

func (dao *SysPermissionDao) IgnoreCache() dao_interface.IDao

func (*SysPermissionDao) IgnoreExtModel added in v0.7.22

func (dao *SysPermissionDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysPermissionDao) IsIgnoreCache added in v0.7.22

func (dao *SysPermissionDao) IsIgnoreCache() bool

func (*SysPermissionDao) Table

func (dao *SysPermissionDao) Table() string

Table returns the table name of current dao.

func (*SysPermissionDao) Transaction

func (dao *SysPermissionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysPersonLicenseColumns added in v0.4.13

type SysPersonLicenseColumns struct {
	Id               string // ID
	IdcardFrontPath  string // 身份证头像面照片
	IdcardBackPath   string // 身份证国徽面照片
	No               string // 身份证号
	Gender           string // 性别
	Nation           string // 名族
	Name             string // 姓名
	Birthday         string // 出生日期
	Address          string // 家庭住址
	IssuingAuthorit  string // 签发机关
	IssuingDate      string // 签发日期
	ExpriyDate       string //
	CreatedAt        string //
	UpdatedAt        string //
	DeletedAt        string //
	State            string // 状态:0失效、1正常
	AuthType         string // 认证类型:
	Remark           string // 备注信息
	LatestAuditLogid string // 最新的审核记录id
	UserId           string // 关联的用户ID
}

SysPersonLicenseColumns defines and stores column names for table sys_person_license.

type SysPersonLicenseDao added in v0.4.13

type SysPersonLicenseDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysPersonLicenseDao is the data access object for table sys_person_license.

func NewSysPersonLicenseDao added in v0.4.13

func NewSysPersonLicenseDao(proxy ...dao_interface.IDao) *SysPersonLicenseDao

NewSysPersonLicenseDao creates and returns a new DAO object for table data access.

func (*SysPersonLicenseDao) Columns added in v0.4.13

Columns returns all column names of current dao.

func (*SysPersonLicenseDao) Ctx added in v0.4.13

func (dao *SysPersonLicenseDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysPersonLicenseDao) DB added in v0.4.13

func (dao *SysPersonLicenseDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysPersonLicenseDao) DaoConfig added in v0.4.13

func (dao *SysPersonLicenseDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysPersonLicenseDao) GetExtWhereKeys added in v0.7.22

func (dao *SysPersonLicenseDao) GetExtWhereKeys() []string

func (*SysPersonLicenseDao) Group added in v0.4.13

func (dao *SysPersonLicenseDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysPersonLicenseDao) IgnoreCache added in v0.7.22

func (dao *SysPersonLicenseDao) IgnoreCache() dao_interface.IDao

func (*SysPersonLicenseDao) IgnoreExtModel added in v0.7.22

func (dao *SysPersonLicenseDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysPersonLicenseDao) IsIgnoreCache added in v0.7.22

func (dao *SysPersonLicenseDao) IsIgnoreCache() bool

func (*SysPersonLicenseDao) Table added in v0.4.13

func (dao *SysPersonLicenseDao) Table() string

Table returns the table name of current dao.

func (*SysPersonLicenseDao) Transaction added in v0.4.13

func (dao *SysPersonLicenseDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysRoleColumns

type SysRoleColumns struct {
	Id          string //
	Name        string // 名称
	Description string // 描述
	IsSystem    string // 是否默认角色,true仅能修改名称,不允许删除和修改
	UpdatedAt   string //
	CreatedAt   string //
	UnionMainId string // 主体id
}

SysRoleColumns defines and stores column names for table sys_role.

type SysRoleDao

type SysRoleDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysRoleDao is the data access object for table sys_role.

func NewSysRoleDao

func NewSysRoleDao(proxy ...dao_interface.IDao) *SysRoleDao

NewSysRoleDao creates and returns a new DAO object for table data access.

func (*SysRoleDao) Columns

func (dao *SysRoleDao) Columns() SysRoleColumns

Columns returns all column names of current dao.

func (*SysRoleDao) Ctx

func (dao *SysRoleDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysRoleDao) DB

func (dao *SysRoleDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysRoleDao) DaoConfig

func (dao *SysRoleDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysRoleDao) GetExtWhereKeys added in v0.7.22

func (dao *SysRoleDao) GetExtWhereKeys() []string

func (*SysRoleDao) Group

func (dao *SysRoleDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysRoleDao) IgnoreCache added in v0.7.22

func (dao *SysRoleDao) IgnoreCache() dao_interface.IDao

func (*SysRoleDao) IgnoreExtModel added in v0.7.22

func (dao *SysRoleDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysRoleDao) IsIgnoreCache added in v0.7.22

func (dao *SysRoleDao) IsIgnoreCache() bool

func (*SysRoleDao) Table

func (dao *SysRoleDao) Table() string

Table returns the table name of current dao.

func (*SysRoleDao) Transaction

func (dao *SysRoleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysSettingsColumns added in v0.4.2

type SysSettingsColumns struct {
	Name        string // 配置名称
	Values      string // 配置信息JSON格式
	Desc        string // 描述
	UnionMainId string // 关联的主体id,为0代表是平台配置
	CreatedAt   string //
	UpdatedAt   string //
}

SysSettingsColumns defines and stores column names for table sys_settings.

type SysSettingsDao added in v0.4.2

type SysSettingsDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysSettingsDao is the data access object for table sys_settings.

func NewSysSettingsDao added in v0.4.2

func NewSysSettingsDao(proxy ...dao_interface.IDao) *SysSettingsDao

NewSysSettingsDao creates and returns a new DAO object for table data access.

func (*SysSettingsDao) Columns added in v0.4.2

func (dao *SysSettingsDao) Columns() SysSettingsColumns

Columns returns all column names of current dao.

func (*SysSettingsDao) Ctx added in v0.4.2

func (dao *SysSettingsDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysSettingsDao) DB added in v0.4.2

func (dao *SysSettingsDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysSettingsDao) DaoConfig added in v0.4.2

func (dao *SysSettingsDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysSettingsDao) GetExtWhereKeys added in v0.7.22

func (dao *SysSettingsDao) GetExtWhereKeys() []string

func (*SysSettingsDao) Group added in v0.4.2

func (dao *SysSettingsDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysSettingsDao) IgnoreCache added in v0.7.22

func (dao *SysSettingsDao) IgnoreCache() dao_interface.IDao

func (*SysSettingsDao) IgnoreExtModel added in v0.7.22

func (dao *SysSettingsDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysSettingsDao) IsIgnoreCache added in v0.7.22

func (dao *SysSettingsDao) IsIgnoreCache() bool

func (*SysSettingsDao) Table added in v0.4.2

func (dao *SysSettingsDao) Table() string

Table returns the table name of current dao.

func (*SysSettingsDao) Transaction added in v0.4.2

func (dao *SysSettingsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysSmsLogsColumns

type SysSmsLogsColumns struct {
	Id        string //
	Type      string // 短信平台:qyxs:企业信使
	Context   string // 短信内容
	Mobile    string // 手机号
	State     string // 发送状态
	Result    string // 短信接口返回内容
	UserId    string // 用户ID
	LicenseId string // 主体ID
	CreatedAt string //
	UpdatedAt string //
	DeletedAt string //
}

SysSmsLogsColumns defines and stores column names for table sys_sms_logs.

type SysSmsLogsDao

type SysSmsLogsDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysSmsLogsDao is the data access object for table sys_sms_logs.

func NewSysSmsLogsDao

func NewSysSmsLogsDao(proxy ...dao_interface.IDao) *SysSmsLogsDao

NewSysSmsLogsDao creates and returns a new DAO object for table data access.

func (*SysSmsLogsDao) Columns

func (dao *SysSmsLogsDao) Columns() SysSmsLogsColumns

Columns returns all column names of current dao.

func (*SysSmsLogsDao) Ctx

func (dao *SysSmsLogsDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysSmsLogsDao) DB

func (dao *SysSmsLogsDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysSmsLogsDao) DaoConfig

func (dao *SysSmsLogsDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysSmsLogsDao) GetExtWhereKeys added in v0.7.22

func (dao *SysSmsLogsDao) GetExtWhereKeys() []string

func (*SysSmsLogsDao) Group

func (dao *SysSmsLogsDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysSmsLogsDao) IgnoreCache added in v0.7.22

func (dao *SysSmsLogsDao) IgnoreCache() dao_interface.IDao

func (*SysSmsLogsDao) IgnoreExtModel added in v0.7.22

func (dao *SysSmsLogsDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysSmsLogsDao) IsIgnoreCache added in v0.7.22

func (dao *SysSmsLogsDao) IsIgnoreCache() bool

func (*SysSmsLogsDao) Table

func (dao *SysSmsLogsDao) Table() string

Table returns the table name of current dao.

func (*SysSmsLogsDao) Transaction

func (dao *SysSmsLogsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysUserColumns

type SysUserColumns struct {
	Id        string //
	Username  string // 账号
	Password  string // 密码
	State     string // 状态:0未激活、1正常、-1封号、-2异常、-3已注销
	Type      string // 用户类型:0匿名、1用户、2微商、4商户、8广告主、16服务商、32运营中心、64后台
	Mobile    string // 手机号
	CreatedAt string //
	UpdatedAt string //
	DeletedAt string //
	Email     string // 邮箱
}

SysUserColumns defines and stores column names for table sys_user.

type SysUserDao

type SysUserDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysUserDao is the data access object for table sys_user.

func NewSysUserDao

func NewSysUserDao(proxy ...dao_interface.IDao) *SysUserDao

NewSysUserDao creates and returns a new DAO object for table data access.

func (*SysUserDao) Columns

func (dao *SysUserDao) Columns() SysUserColumns

Columns returns all column names of current dao.

func (*SysUserDao) Ctx

func (dao *SysUserDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysUserDao) DB

func (dao *SysUserDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysUserDao) DaoConfig

func (dao *SysUserDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysUserDao) GetExtWhereKeys added in v0.7.22

func (dao *SysUserDao) GetExtWhereKeys() []string

func (*SysUserDao) Group

func (dao *SysUserDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysUserDao) IgnoreCache added in v0.7.22

func (dao *SysUserDao) IgnoreCache() dao_interface.IDao

func (*SysUserDao) IgnoreExtModel added in v0.7.22

func (dao *SysUserDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysUserDao) IsIgnoreCache added in v0.7.22

func (dao *SysUserDao) IsIgnoreCache() bool

func (*SysUserDao) Table

func (dao *SysUserDao) Table() string

Table returns the table name of current dao.

func (*SysUserDao) Transaction

func (dao *SysUserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

type SysUserDetailColumns

type SysUserDetailColumns struct {
	Id              string // ID,保持与USERID一致
	Realname        string // 姓名
	UnionMainName   string // 关联主体名称
	LastLoginIp     string // 最后登录IP
	LastLoginArea   string // 最后登录地区
	LastLoginAt     string // 最后登录时间
	LastHeartbeatAt string // 最后在线时间
}

SysUserDetailColumns defines and stores column names for table sys_user_detail.

type SysUserDetailDao

type SysUserDetailDao struct {
	dao_interface.IDao
	// contains filtered or unexported fields
}

SysUserDetailDao is the data access object for table sys_user_detail.

func NewSysUserDetailDao

func NewSysUserDetailDao(proxy ...dao_interface.IDao) *SysUserDetailDao

NewSysUserDetailDao creates and returns a new DAO object for table data access.

func (*SysUserDetailDao) Columns

func (dao *SysUserDetailDao) Columns() SysUserDetailColumns

Columns returns all column names of current dao.

func (*SysUserDetailDao) Ctx

func (dao *SysUserDetailDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model

Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.

func (*SysUserDetailDao) DB

func (dao *SysUserDetailDao) DB() gdb.DB

DB retrieves and returns the underlying raw database management object of current DAO.

func (*SysUserDetailDao) DaoConfig

func (dao *SysUserDetailDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) *dao_interface.DaoConfig

func (*SysUserDetailDao) GetExtWhereKeys added in v0.7.22

func (dao *SysUserDetailDao) GetExtWhereKeys() []string

func (*SysUserDetailDao) Group

func (dao *SysUserDetailDao) Group() string

Group returns the configuration group name of database of current dao.

func (*SysUserDetailDao) IgnoreCache added in v0.7.22

func (dao *SysUserDetailDao) IgnoreCache() dao_interface.IDao

func (*SysUserDetailDao) IgnoreExtModel added in v0.7.22

func (dao *SysUserDetailDao) IgnoreExtModel(whereKey ...string) dao_interface.IDao

func (*SysUserDetailDao) IsIgnoreCache added in v0.7.22

func (dao *SysUserDetailDao) IsIgnoreCache() bool

func (*SysUserDetailDao) Table

func (dao *SysUserDetailDao) Table() string

Table returns the table name of current dao.

func (*SysUserDetailDao) Transaction

func (dao *SysUserDetailDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)

Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.

Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.

Jump to

Keyboard shortcuts

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