Files
old-svijetlastrana/domain/entity/notification.go
2018-04-25 13:16:36 +02:00

21 lines
601 B
Go

package entity
import "time"
type Notification struct {
ID int64 `json:"-"`
UUID string `json:"uuid"`
From string `json:"to"`
To string `json:"to"`
Type string `json:"type"`
TypeID int64 `json:"type_id"`
Subject string `json:"subject"`
Message string `json:"message"`
MessageType string `json:"message_type"`
Ride Ride `json:"ride"`
User User `json:"user"`
CreatedUser User `json:"created_user"`
Created time.Time `json:"create_at"`
Read bool `json:"read"`
}