Documentation
¶
Index ¶
- Variables
- type MessageTable
- type NotifyRobotTable
- type PluginsTable
- type SessionTable
- type SystemNotifyMessageTable
- func (a SystemNotifyMessageTable) AS(alias string) SystemNotifyMessageTable
- func (a SystemNotifyMessageTable) FromSchema(schemaName string) SystemNotifyMessageTable
- func (a SystemNotifyMessageTable) WithPrefix(prefix string) SystemNotifyMessageTable
- func (a SystemNotifyMessageTable) WithSuffix(suffix string) SystemNotifyMessageTable
- type UsersSessionTable
Constants ¶
This section is empty.
Variables ¶
var Message = newMessageTable("bris", "即时消息_消息数据", "")
var NotifyRobot = newNotifyRobotTable("bris", "即时消息_机器人", "")
var Plugins = newPluginsTable("bris", "即时消息_插件列表", "")
var Session = newSessionTable("bris", "即时消息_会话", "")
var SystemNotifyMessage = newSystemNotifyMessageTable("bris", "即时消息_系统通知", "")
var UsersSession = newUsersSessionTable("bris", "即时消息_用户会话", "")
Functions ¶
This section is empty.
Types ¶
type MessageTable ¶
type MessageTable struct {
mysql.Table
//Columns
UpdatedAt mysql.ColumnTimestamp
From mysql.ColumnInteger
ToSessionID mysql.ColumnInteger
Content mysql.ColumnString
ContentType mysql.ColumnInteger
DeletedAt mysql.ColumnTimestamp
CreatedBy mysql.ColumnInteger
UpdatedBy mysql.ColumnInteger
Url mysql.ColumnString
Card mysql.ColumnString
DeletedBy mysql.ColumnInteger
ID mysql.ColumnInteger
CreatedAt mysql.ColumnTimestamp
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (MessageTable) AS ¶
func (a MessageTable) AS(alias string) MessageTable
AS creates new MessageTable with assigned alias
func (MessageTable) FromSchema ¶
func (a MessageTable) FromSchema(schemaName string) MessageTable
Schema creates new MessageTable with assigned schema name
func (MessageTable) WithPrefix ¶
func (a MessageTable) WithPrefix(prefix string) MessageTable
WithPrefix creates new MessageTable with assigned table prefix
func (MessageTable) WithSuffix ¶
func (a MessageTable) WithSuffix(suffix string) MessageTable
WithSuffix creates new MessageTable with assigned table suffix
type NotifyRobotTable ¶
type NotifyRobotTable struct {
mysql.Table
//Columns
ID mysql.ColumnInteger
CreatedBy mysql.ColumnInteger
UpdatedAt mysql.ColumnTimestamp
DeletedAt mysql.ColumnTimestamp
CreatedAt mysql.ColumnTimestamp
Name mysql.ColumnString
SessionSet mysql.ColumnString
Type mysql.ColumnInteger
Description mysql.ColumnString
UpdatedBy mysql.ColumnInteger
DeletedBy mysql.ColumnInteger
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (NotifyRobotTable) AS ¶
func (a NotifyRobotTable) AS(alias string) NotifyRobotTable
AS creates new NotifyRobotTable with assigned alias
func (NotifyRobotTable) FromSchema ¶
func (a NotifyRobotTable) FromSchema(schemaName string) NotifyRobotTable
Schema creates new NotifyRobotTable with assigned schema name
func (NotifyRobotTable) WithPrefix ¶
func (a NotifyRobotTable) WithPrefix(prefix string) NotifyRobotTable
WithPrefix creates new NotifyRobotTable with assigned table prefix
func (NotifyRobotTable) WithSuffix ¶
func (a NotifyRobotTable) WithSuffix(suffix string) NotifyRobotTable
WithSuffix creates new NotifyRobotTable with assigned table suffix
type PluginsTable ¶
type PluginsTable struct {
mysql.Table
//Columns
DeletedAt mysql.ColumnTimestamp
CreatedBy mysql.ColumnInteger
CreatedAt mysql.ColumnTimestamp
UpdatedBy mysql.ColumnInteger
PluginURL mysql.ColumnString
PluginIconURL mysql.ColumnString
ID mysql.ColumnInteger
UpdatedAt mysql.ColumnTimestamp
DeletedBy mysql.ColumnInteger
PluginName mysql.ColumnString
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (PluginsTable) AS ¶
func (a PluginsTable) AS(alias string) PluginsTable
AS creates new PluginsTable with assigned alias
func (PluginsTable) FromSchema ¶
func (a PluginsTable) FromSchema(schemaName string) PluginsTable
Schema creates new PluginsTable with assigned schema name
func (PluginsTable) WithPrefix ¶
func (a PluginsTable) WithPrefix(prefix string) PluginsTable
WithPrefix creates new PluginsTable with assigned table prefix
func (PluginsTable) WithSuffix ¶
func (a PluginsTable) WithSuffix(suffix string) PluginsTable
WithSuffix creates new PluginsTable with assigned table suffix
type SessionTable ¶
type SessionTable struct {
mysql.Table
//Columns
DeletedAt mysql.ColumnTimestamp
SessionName mysql.ColumnString
UserIDSet mysql.ColumnString
LastMessageTime mysql.ColumnTimestamp
UpdatedAt mysql.ColumnTimestamp
DeletedBy mysql.ColumnInteger
ID mysql.ColumnInteger
CreatedBy mysql.ColumnInteger
CreatedAt mysql.ColumnTimestamp
UpdatedBy mysql.ColumnInteger
EndTime mysql.ColumnTimestamp
MessageID mysql.ColumnInteger
Type mysql.ColumnInteger
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (SessionTable) AS ¶
func (a SessionTable) AS(alias string) SessionTable
AS creates new SessionTable with assigned alias
func (SessionTable) FromSchema ¶
func (a SessionTable) FromSchema(schemaName string) SessionTable
Schema creates new SessionTable with assigned schema name
func (SessionTable) WithPrefix ¶
func (a SessionTable) WithPrefix(prefix string) SessionTable
WithPrefix creates new SessionTable with assigned table prefix
func (SessionTable) WithSuffix ¶
func (a SessionTable) WithSuffix(suffix string) SessionTable
WithSuffix creates new SessionTable with assigned table suffix
type SystemNotifyMessageTable ¶
type SystemNotifyMessageTable struct {
mysql.Table
//Columns
DeletedBy mysql.ColumnInteger
DeletedAt mysql.ColumnTimestamp
ToSessionID mysql.ColumnInteger
UpdatedBy mysql.ColumnInteger
UpdatedAt mysql.ColumnTimestamp
ID mysql.ColumnInteger
From mysql.ColumnInteger
Content mysql.ColumnString
ContentType mysql.ColumnInteger
Url mysql.ColumnString
Card mysql.ColumnString
CreatedBy mysql.ColumnInteger
CreatedAt mysql.ColumnTimestamp
IsReadIdSet mysql.ColumnString
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (SystemNotifyMessageTable) AS ¶
func (a SystemNotifyMessageTable) AS(alias string) SystemNotifyMessageTable
AS creates new SystemNotifyMessageTable with assigned alias
func (SystemNotifyMessageTable) FromSchema ¶
func (a SystemNotifyMessageTable) FromSchema(schemaName string) SystemNotifyMessageTable
Schema creates new SystemNotifyMessageTable with assigned schema name
func (SystemNotifyMessageTable) WithPrefix ¶
func (a SystemNotifyMessageTable) WithPrefix(prefix string) SystemNotifyMessageTable
WithPrefix creates new SystemNotifyMessageTable with assigned table prefix
func (SystemNotifyMessageTable) WithSuffix ¶
func (a SystemNotifyMessageTable) WithSuffix(suffix string) SystemNotifyMessageTable
WithSuffix creates new SystemNotifyMessageTable with assigned table suffix
type UsersSessionTable ¶
type UsersSessionTable struct {
mysql.Table
//Columns
DeletedBy mysql.ColumnInteger
DeletedAt mysql.ColumnTimestamp
UserID mysql.ColumnInteger
ValidSessionSet mysql.ColumnString
EndSessionSet mysql.ColumnString
ID mysql.ColumnInteger
CreatedBy mysql.ColumnInteger
CreatedAt mysql.ColumnTimestamp
UpdatedBy mysql.ColumnInteger
UpdatedAt mysql.ColumnTimestamp
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (UsersSessionTable) AS ¶
func (a UsersSessionTable) AS(alias string) UsersSessionTable
AS creates new UsersSessionTable with assigned alias
func (UsersSessionTable) FromSchema ¶
func (a UsersSessionTable) FromSchema(schemaName string) UsersSessionTable
Schema creates new UsersSessionTable with assigned schema name
func (UsersSessionTable) WithPrefix ¶
func (a UsersSessionTable) WithPrefix(prefix string) UsersSessionTable
WithPrefix creates new UsersSessionTable with assigned table prefix
func (UsersSessionTable) WithSuffix ¶
func (a UsersSessionTable) WithSuffix(suffix string) UsersSessionTable
WithSuffix creates new UsersSessionTable with assigned table suffix