Documentation
¶
Index ¶
- Variables
- type MessageTable
- 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
Constants ¶
This section is empty.
Variables ¶
var Message = newMessageTable("bris", "即时消息_消息数据", "")
var Session = newSessionTable("bris", "即时消息_会话", "")
var SystemNotifyMessage = newSystemNotifyMessageTable("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
FromName mysql.ColumnString
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 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
SessionAvatar mysql.ColumnString
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
FromName 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