You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/models/message.go

12 lines
248 B
Go

package models
type Message struct {
BaseModel
UserID uint `json:"user_id"`
User *User `json:"user"`
Title string `json:"title"`
Redirect string `json:"redirect"`
Content string `json:"content"`
From string `json:"from"`
}