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

     1  // =================================================================================
     2  // Code generated by GoFrame CLI tool. DO NOT EDIT.
     3  // =================================================================================
     4  
     5  package sys_entity
     6  
     7  import (
     8  	"github.com/gogf/gf/v2/os/gtime"
     9  )
    10  
    11  // SysMessage is the golang structure for table sys_message.
    12  type SysMessage struct {
    13  	Id             int64       `json:"id"             description:"ID"`
    14  	Title          string      `json:"title"          description:"标题"`
    15  	Summary        string      `json:"summary"        description:"摘要"`
    16  	Content        string      `json:"content"        description:"内容"`
    17  	Type           int         `json:"type"           description:"消息类型"`
    18  	Link           string      `json:"link"           description:"跳转链接"`
    19  	ToUserIds      string      `json:"toUserIds"      description:"接收者UserIds,允许有多个接收者"`
    20  	ToUserType     int         `json:"toUserType"     description:"接收者类型用户类型,和UserType保持一致"`
    21  	FromUserId     int64       `json:"fromUserId"     description:"发送者ID,为-1代表系统消息"`
    22  	FromUserType   int         `json:"fromUserType"   description:"发送者类型"`
    23  	SendAt         *gtime.Time `json:"sendAt"         description:"发送时间"`
    24  	ExtJson        string      `json:"extJson"        description:"拓展数据Json"`
    25  	ReadUserIds    string      `json:"readUserIds"    description:"已读用户UserIds"`
    26  	DataIdentifier string      `json:"dataIdentifier" description:"关联的数据标识"`
    27  	CreatedAt      *gtime.Time `json:"createdAt"      description:""`
    28  	UpdatedAt      *gtime.Time `json:"updatedAt"      description:""`
    29  	DeletedAt      *gtime.Time `json:"deletedAt"      description:""`
    30  }