initial commit 2
This commit is contained in:
20
domain/entity/notification.go
Normal file
20
domain/entity/notification.go
Normal file
@@ -0,0 +1,20 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user