github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_do/sys_message.go (about)

     1  // =================================================================================
     2  // Code generated by GoFrame CLI tool. DO NOT EDIT.
     3  // =================================================================================
     4  
     5  package sys_do
     6  
     7  import (
     8  	"github.com/gogf/gf/v2/frame/g"
     9  	"github.com/gogf/gf/v2/os/gtime"
    10  )
    11  
    12  // SysMessage is the golang structure of table sys_message for DAO operations like Where/Data.
    13  type SysMessage struct {
    14  	g.Meta         `orm:"table:sys_message, do:true"`
    15  	Id             interface{} // ID
    16  	Title          interface{} // 标题
    17  	Summary        interface{} // 摘要
    18  	Content        interface{} // 内容
    19  	Type           interface{} // 消息类型
    20  	Link           interface{} // 跳转链接
    21  	ToUserIds      interface{} // 接收者UserIds,允许有多个接收者
    22  	ToUserType     interface{} // 接收者类型用户类型,和UserType保持一致
    23  	FromUserId     interface{} // 发送者ID,为-1代表系统消息
    24  	FromUserType   interface{} // 发送者类型
    25  	SendAt         *gtime.Time // 发送时间
    26  	ExtJson        interface{} // 拓展数据Json
    27  	ReadUserIds    interface{} // 已读用户UserIds
    28  	DataIdentifier interface{} // 关联的数据标识
    29  	CreatedAt      *gtime.Time //
    30  	UpdatedAt      *gtime.Time //
    31  	DeletedAt      *gtime.Time //
    32  }