overflow_commons_go/modules/notification/model/Notification.go

17 lines
562 B
Go
Raw Normal View History

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