12345678910111213141516171819 |
- package entity
- import "gopkg.in/guregu/null.v3"
- type DeliverMsg struct {
- Id int `db:"id" json:"id"`
- DeliverUserId int `db:"deliver_user_id" json:"deliver_user_id"`
- Title string `db:"title" json:"title"`
- Content string `db:"content" json:"content"`
- IsRead null.String `db:"is_read" json:"is_read"`
- CreatedAt string `db:"created_at" json:"created_at"`
- }
- type DeliverChatMsg struct {
- From int `db:"fu" json:"from"`
- To int `db:"tu" json:"to"`
- Message string `db:"message" json:"message"`
- CreatedAt string `db:"created_at" json:"created_at"`
- }
|