2017-11-08 09:50:44 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/json"
|
2017-12-01 06:04:31 +00:00
|
|
|
|
|
|
|
member "git.loafle.net/overflow/overflow_commons_go/modules/member/model"
|
|
|
|
util "git.loafle.net/overflow/overflow_commons_go/util"
|
2017-11-08 09:50:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Notification struct {
|
2017-12-01 06:04:31 +00:00
|
|
|
ID json.Number `json:"id,Number,omitempty"`
|
|
|
|
CreateDate util.Timestamp `json:"date,omitempty"`
|
|
|
|
Title string `json:"title,omitempty"`
|
|
|
|
Message string `json:"message,omitempty"`
|
|
|
|
Member *member.Member `json:"member,omitempty"`
|
|
|
|
ConfirmDate util.Timestamp `json:"confirmDate,omitempty"`
|
|
|
|
Url string `json:"url,omitempty"`
|
|
|
|
}
|