15 lines
420 B
Go
15 lines
420 B
Go
|
|
package response
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
type NotificationResponse struct {
|
||
|
|
ID uint64 `json:"id"`
|
||
|
|
SentTo int `json:"sentTo"`
|
||
|
|
SendBy int `json:"sendBy"`
|
||
|
|
SendByName string `json:"sendByName"`
|
||
|
|
Message string `json:"message"`
|
||
|
|
IsRead bool `json:"isRead"`
|
||
|
|
IsActive bool `json:"isActive"`
|
||
|
|
CreatedAt time.Time `json:"createdAt"`
|
||
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
||
|
|
}
|