commons-go/model/notification/Notification.go
crusader ab936be303 ing
2018-06-12 22:13:22 +09:00

19 lines
568 B
Go

package notification
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
"git.loafle.net/overflow/commons-go/model/member"
)
type Notification struct {
ID json.Number `json:"id,Number,omitempty"`
Title string `json:"title,omitempty"`
Message string `json:"message,omitempty"`
Member *member.Member `json:"member,omitempty"`
URL string `json:"url,omitempty"`
ConfirmDate *util.Timestamp `json:"confirmDate,omitempty"`
CreateDate *util.Timestamp `json:"date,omitempty"`
}